]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: osk5912: Let core to deal with the DAPM widgets
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 10 Oct 2011 12:34:11 +0000 (15:34 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Oct 2011 15:18:12 +0000 (16:18 +0100)
commit151ae5c3483d0ce6172803442be40feb7f58338a
tree992fdd95bd2aa12d6422ef8b51cf9dc2be6e7723
parent8a97d76a047444d24cf4697375dfd965a657a135
ASoC: osk5912: Let core to deal with the DAPM widgets

Pass the DAPM widgets/routes via the snd_soc_card struct
to core. With this change we do not need the init function
since the remaining snd_soc_dapm_enable_pin calls are
not needed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/osk5912.c