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)
commit1bf84759bdcc08933b22ee70722f1575ad84f9b9
tree9e8f77eb84b19d05b2b1e70f16ac25753548c6b8
parent65b7cecc85b9bb7bb8ce74c6a3b280464b00c86c
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