1
linux/sound/soc
Janusz Krzysztofik f75a8ff67d ASoC: cx20442: add bias control over a platform provided regulator
Now that a regulator device for controlling the codec chip reset state
over a platform agnostic regulator API is available on the only board
using this driver so far, extend the driver with a bias control function
which will request virtual power to the codec chip from that virtual
regulator, and will supersede the present implementation existing at the
sound card level.

Thanks to the regulator sharing mechanism, both the old (the sound card)
and the new (the codec) implementations should coexist smoothly until
the sound card file is updated. For this to work as expected, update the
sound card .set_bias_level callback to not touch codec->dapm.bias_level.

While extending the cx20442 structure, drop unused control_type member.

Created against linxu-3.2-rc6, tested on top of patch 1/4 "ARM: OMAP1:
ams-delta: set up a regulator over the modem reset GPIO pin".

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
2012-01-09 11:20:16 +00:00
..
atmel ASoC: atmel: Add .owner to struct snd_soc_card 2011-12-22 17:34:33 +00:00
au1x ASoC: au1x: Add .owner to struct snd_soc_card 2011-12-23 11:16:29 +00:00
blackfin ASoC: blackfin: Add .owner to struct snd_soc_card 2011-12-22 17:34:34 +00:00
codecs ASoC: cx20442: add bias control over a platform provided regulator 2012-01-09 11:20:16 +00:00
davinci ASoC: davinci: Add .owner to struct snd_soc_card 2011-12-22 17:34:34 +00:00
ep93xx ASoC: ep93xx: Add .owner to struct snd_soc_card 2011-12-22 17:34:35 +00:00
fsl ASoC: fsl: Add .owner to struct snd_soc_card 2011-12-22 17:34:32 +00:00
imx ASoC: imx: Add .owner to struct snd_soc_card 2011-12-23 11:16:43 +00:00
jz4740 ASoC: jz4740: Add .owner to struct snd_soc_card 2011-12-23 11:16:57 +00:00
kirkwood ASoC: kirkwood: Add .owner to struct snd_soc_card 2011-12-23 11:32:09 +00:00
mid-x86 ASoC: mid-x86: Add .owner to struct snd_soc_card 2011-12-23 11:32:09 +00:00
mxs Merge branch 'for-3.2' into for-3.3 2011-12-22 12:02:29 +00:00
nuc900 ASoC: nuc900: Add .owner to struct snd_soc_card 2011-12-23 11:16:58 +00:00
omap ASoC: cx20442: add bias control over a platform provided regulator 2012-01-09 11:20:16 +00:00
pxa ASoC: pxa: Add .owner to struct snd_soc_card 2011-12-22 11:04:18 +00:00
s6000 ASoC: s6000: Add .owner to struct snd_soc_card 2011-12-23 11:32:00 +00:00
samsung ASoC: Add trivial pm_runtime usage to Samsung DAI drivers 2011-12-23 12:08:32 +00:00
sh ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
tegra ASoC: tegra: Add .owner to struct snd_soc_card 2011-12-22 17:34:35 +00:00
txx9 ASoC: txx9: Add .owner to struct snd_soc_card 2011-12-23 11:32:08 +00:00
Kconfig ASoC: Remove LZO cache type 2011-11-10 13:08:09 +00:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
soc-cache.c ASoC: Remove rbtree register cache 2011-12-13 00:20:28 +08:00
soc-core.c ASoC: Declare soc_new_pcm() properly 2011-12-22 17:34:25 +00:00
soc-dapm.c ASoC: Take a pm_runtime reference on DAPM devices that are enabled 2011-12-08 09:22:36 +08:00
soc-io.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
soc-jack.c ASoC: Remove ifdefs for GPIO_SYSFS 2011-12-21 00:12:28 +00:00
soc-pcm.c ASoC: Hold runtime PM references to components of active DAIs 2011-12-08 09:21:45 +08:00
soc-utils.c ASoC: Provide a more complete DMA driver stub 2011-12-06 10:05:07 +00:00