• Timur Tabi's avatar
    ASoC: add additional controls to the CS4270 codec driver · d5e9ba1d
    Timur Tabi authored
    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: default avatarTimur Tabi <timur@freescale.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    d5e9ba1d
cs4270.c 23.2 KB