]> 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)
commit2e995529795e94775afe04f8b7c339c16eee1d8a
tree6f4b8b4b4c404eac9167ffb833b5b4a244a2ab43
parent4e55e167c247bf2f8af8f238d3db271932974b10
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