]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: twl6040: Add ramp up/down volume for HS and HF
authorMargarita Olaya Cabrera <magi.olaya@ti.com>
Wed, 15 Dec 2010 01:00:21 +0000 (19:00 -0600)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 16 Dec 2010 12:02:34 +0000 (12:02 +0000)
commit3659d4c91855ec7492a6cfa81f9f0bbc1ac5dd98
tree9e8f77eb84b19d05b2b1e70f16ac25753548c6b8
parent9faffc92f331d545c0398bb9d9018222413baeec
ASoC: twl6040: Add ramp up/down volume for HS and HF

Add ramp functions for the headset and handsfree outputs
in order to reduce the pops during power on/off sequences.

In order to give more control to volume ramp, step size and delay
between steps can be specified.

The patches are based on wm8350 implementation from Liam
Girdwood.

Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/twl6040.c