]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita44a9bd0a29e3b933b2ee40310167cc1513f3e35
treea5c5b3026abd8776ba1491612f6864eb09763f8c
parent6f8d1c4f2ee401d9144ba1cf9cbcd6543eb7f7e5
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