[alsa-devel] Streaming wake-up buffer from DSP to SoC over SPI

Mark Brown broonie at kernel.org
Tue Dec 16 12:40:11 CET 2014


On Tue, Dec 16, 2014 at 12:16:40AM -0800, Dylan Reid wrote:
> On Mon, Dec 15, 2014 at 8:41 PM, Vinod Koul <vinod.koul at intel.com> wrote:

> > The device here wont be any different than regular PCM/Compressed devices.
> > Assume the data path is SPI rather than I2S so things would be modelled that
> > way. You still need to setup SPI port, DMAs like you would do on I2S.

> Ah, I hadn't thought about using the compressed framework.  I can see
> how that would make this easier.  I'll take a closer look at it
> tomorrow.

You should be able to use a normal device as well, you need to either
arrange for the driver to buffer data until userspace starts the magic
stream or arrange for userspace to not mind if it blocks for extended
periods.  Either compressed or uncompressed should work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141216/0b1ab76f/attachment.sig>


More information about the Alsa-devel mailing list