ASoC: dapm: Convert pin switches to use snd_soc_card
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Feb 2012 01:11:15 +0000 (17:11 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Feb 2012 16:01:31 +0000 (08:01 -0800)
commit48a8c3943d1010c81d8144cc773f81c30bf59246
tree3c21dcdc715ef23e8cc860f7e3e316152b8b7c2b
parent64e60f9f9e59f861fe9b79802b3cb03ca06b422f
ASoC: dapm: Convert pin switches to use snd_soc_card

Since the addition of the non-CODEC control adds card controls like the
DAPM pin switch have been broken as they are expecting the private data
for the control to be the CODEC but it's now the card. Fix that for the
pin switches, an audit of other drivers is required.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-dapm.c