]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap-mcbsp: Check mcbsp->id instead of cpu_dai->id when adding ST controls
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 22 Aug 2012 10:11:40 +0000 (13:11 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 25 Aug 2012 20:30:11 +0000 (13:30 -0700)
commitc146ecb48c1c28942e9d8b1db8746ae48ec9a6af
tree1bc1a26a8c702494656f48b5bc9963d20cb443bd
parent2c5b588532df5dd1dcdb2f968167bf810e1e6f9a
ASoC: omap-mcbsp: Check mcbsp->id instead of cpu_dai->id when adding ST controls

In ddevice tree booted kernel all device have unique name and their device
id is set to 0.
Use the mcbsp->id for checking to decide which control set we should add
for McBSP sidetone handling.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-mcbsp.c