ASoC: Allow pins to be force enabled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Mar 2010 19:23:37 +0000 (19:23 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 16 Mar 2010 15:56:10 +0000 (15:56 +0000)
commitda34183e640ed380f708bf9ebcd592afda619028
treea5c5b3026abd8776ba1491612f6864eb09763f8c
parente82f5cfa6389893e3e17f928d4c4f402b10c79eb
ASoC: Allow pins to be force enabled

Allow pins to be forced on regardless of their power state. This is
intended for use with microphone bias supplies which need to be
enabled in order to support microphone detection - in systems without
appropriate hardware leaving the microphone unbiased when not in use
saves power.

The force done at power check time in order to avoid disrupting other
power detection logic.

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