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)
commitd5e9ba1d58b6da1c58a91113fc350ece97ec5a0b
treec6b9435abab7a889784f76ef6a746316d914a934
parent9e32ebdb3aa4e5d2366b032baa16b95f3d7788b9
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