diff options
author | Mika Westerberg <mika.westerberg@iki.fi> | 2011-09-11 12:28:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-16 10:11:26 +0100 |
commit | 5a0a03c5ef79cc14336c789c183822902519d8da (patch) | |
tree | f7ed3ee28b07d3b63888952c0cf99ff3cf201c8b /lib/mpi/mpi-inline.h | |
parent | 9306816954e6e7c3986495f9141a04d5393f998a (diff) |
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 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions