[alsa-devel] [linuxppc-release] [PATCH 1/2] [v2] ASoC: fsl: use snd_soc_register_card to register the card

Timur Tabi timur at freescale.com
Tue Sep 11 22:05:45 CEST 2012

Timur Tabi wrote:
> Use snd_soc_register_card() instead of platform_device_alloc("soc-audio")
> to register the sound card from the machine drivers.
> Although platform_device_alloc is officially deprecated, it is still used
> by several other drivers.  Unfortunately, something is broken somewhere
> and the Freescale drivers don't register properly when using it.  Since
> we need to transition to snd_soc_register_card() anyway, this fixes the
> problem and updates our code at the same time.
> Signed-off-by: Timur Tabi <timur at freescale.com>

Ugh, I forgot to update the _remove function.  I'll post a v3 patch soon.

Timur Tabi
Linux kernel developer at Freescale

More information about the Alsa-devel mailing list