[alsa-devel] [PATCH] ASoC: rt5514: Use the local variable to get the data from SPI device

Hsin-yu Chao hychao at google.com
Tue Jul 25 16:47:55 CEST 2017


The original cause seems to be in spi driver.
I tested setting enable_dma flag to false in spi-pxa2xx driver and that
fixes the problem.
Will investigate in spi driver side. Thanks!

Hsin-yu



On Mon, Jul 24, 2017 at 11:06 AM, Oder Chiou <oder_chiou at realtek.com> wrote:

> > On Fri, Jul 21, 2017 at 04:00:47PM +0800, Oder Chiou wrote:
> > > The patch uses the local variable to get the data from SPI device to
> > > prevent to get all zero data.
> >
> > How do you end up with all zero data from reading directly into rxbuf?
> >
> While the "runtime->dma_area" put into the rxbuf directly on the Intel
> platform, it seemed that had the limitation to let the memory cannot be
> written the data using the driver of the SPI controller. We verified the
> original code on the platforms of Nvidia and Rockchip, and these are
> working fine.
>


More information about the Alsa-devel mailing list