ASoC: Allow force enabled pins to be disabled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Mar 2010 13:36:13 +0000 (13:36 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Mar 2010 17:21:23 +0000 (17:21 +0000)
commit5b9e87ccccf77f46c006c2cf0988a66d0f3f310d
tree53ab5d4006ccb37b85a615203a0bc325b5e5dcd8
parentd5021ec9fc32edc6f512c2375923d757e9825f6a
ASoC: Allow force enabled pins to be disabled

Some systems, such as those with mechanical jack detection, may wish
to force enable a pin (typically mic bias) only some of the time.
Support such systems by having disable_pin() also coveer force enabled
pins.

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