]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Provide REGULATOR_SUPPLY widget type
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 21 Jan 2012 21:14:48 +0000 (21:14 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 16:07:54 +0000 (16:07 +0000)
commitac9e9c0f185d2e303704149ee0e53afb391a0c04
tree6f4b8b4b4c404eac9167ffb833b5b4a244a2ab43
parent0666cd3f9ae636ae3e4a5857d557df296cb872e3
ASoC: Provide REGULATOR_SUPPLY widget type

Modern devices allow systems to enable and disable individual supplies on
the device, allowing additional power saving by switching off regulators
which power portions of the device which are not currently in use. Add a
new SND_SOC_DAPM_REGULATOR_SUPPLY widget type factoring out the code for
managing such widgets from individual drivers.

The widget name will be used as the supply name when requesting the
regulator from the regulator API.

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