[alsa-devel] [PATCH v3 09/11] ASoC: fsl: remove the fatal error checking on codec-handle

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Mar 16 20:18:12 CET 2012


On Fri, Mar 16, 2012 at 03:53:39AM +0000, Tabi Timur-B04825 wrote:

> might be a way to general the call to platform_device_register_simple. 
> Maybe we could put "imx-pcm-audio" in the device tree?

We might end up doing that but as this adaption of the DMA controller to
the audio stack isn't really hardware so much as an implementation
detail of the audio stack it'd be nice to come up with some neater way
of doing it, ideally not involving the platform device at all.

I'm starting to think we should have a framework thing that lets DAI
drivers say they're a combined DMA/DAI driver for cases like this where
there is a generic DMA device that's being shared by lots of different
subsystems.  It's a common situation and it makes the device registration
clearer.  Adding Stephen Warren as he was thinking about this stuff in
the context of the nVidia drivers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120316/e687354c/attachment.sig 


More information about the Alsa-devel mailing list