]> git.karo-electronics.de Git - mv-sheeva.git/commit
ASoC: da7210: Add support for ALC and Noise suppression
authorAshish Chavan <ashish.chavan@kpitcummins.com>
Wed, 19 Oct 2011 08:54:37 +0000 (14:24 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Oct 2011 16:59:08 +0000 (17:59 +0100)
commitde5eaf844e936cc80d9edde56eaa1025a1642210
tree1be76c2b8ca417b19b21498bb22342e6d36c3670
parent5eda19497b0af2533a69f67b552cf7baae11f377
ASoC: da7210: Add support for ALC and Noise suppression

This patch adds controls to set following ALC parameters,
 - Max gain, Min gain, Noise gain, Attack rate, Release rate and delay

It also adds a switch to enable/disable noise suppression.

As per DA7210 data sheet, ALC and noise suppression can be enabled
only if certain conditions are met. This condition checks are handled
by simply using "_EXT" version of controls to capture change events.

Signed-off-by: Ashish Chavan <ashish.chavan@kpitcummins.com>
Signed-off-by: David Dajun Chen <dchen@diasemi.com>
Acked-by: Liam Girdwod <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/da7210.c