summaryrefslogtreecommitdiff
path: root/sound/soc/imx
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@iki.fi>2011-09-11 09:28:50 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-16 09:11:26 (GMT)
commit5a0a03c5ef79cc14336c789c183822902519d8da (patch)
treef7ed3ee28b07d3b63888952c0cf99ff3cf201c8b /sound/soc/imx
parent9306816954e6e7c3986495f9141a04d5393f998a (diff)
downloadlinux-fsl-qoriq-5a0a03c5ef79cc14336c789c183822902519d8da.tar.xz
ASoC: simone: convert to use snd_soc_register_card()
Current method for machine driver to register with the ASoC core is to use snd_soc_register_card() instead of creating a "soc-audio" platform device. In addition we use platform_device_register_simple() to create a platform device for the codec. This function will handle putting and deleting the device automatically which simplifies the error handling in the machine driver. Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi> Reviewed-by: Ryan Mallon <rmallon@gmail.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/imx')
0 files changed, 0 insertions, 0 deletions