]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: add additional controls to the CS4270 codec driver
authorTimur Tabi <timur@freescale.com>
Tue, 3 Feb 2009 17:09:32 +0000 (11:09 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Feb 2009 13:32:51 +0000 (13:32 +0000)
commit1a1fa7235bfd9911fc418891b18a0d46e56b4f74
treec6b9435abab7a889784f76ef6a746316d914a934
parentaecb1e7b452054d57beb87642f5e2a0e3ccff59c
ASoC: add additional controls to the CS4270 codec driver

Update the CS4270 codec driver to allow applications to use the mixer to
control Digital Loopback, Soft Ramp, Zero Cross, Popguard, and Auto-Mute.
Soft Ramp, Zero Cross, and Auto-Mute are disabled by the driver when it first
initializes the hardware, but these features either don't work or interfere
with normal ALSA behavior.  However, they can now be re-enabled by an
application if desired.

Remove CONFIG_SND_SOC_CS4270_HWMUTE and always allow ASoC to control the mute
bits.  The driver previously and erroneously assumed that these bits
control only external muting circuitry, but they also control internal
muting circuitry, so they should always be used.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/Kconfig
sound/soc/codecs/cs4270.c