Re: [PATCH v3 09/11] ASoC: fsl: remove the fatal error checking on codec-handle
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.
Description: Digital signature
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]