]> git.karo-electronics.de Git - linux-beck.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)
commit62ea874abc11f02dbeb05314eb82f7d38e82e894
tree6f4b8b4b4c404eac9167ffb833b5b4a244a2ab43
parente8f00041a65d0d67b54843b3c93f229f6ba917f6
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