ASoC: TWL6040: Correct widget handling for drivers
authorJorge Eduardo Candelaria <jorge.candelaria@ti.com>
Thu, 15 Jul 2010 16:38:01 +0000 (11:38 -0500)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sat, 17 Jul 2010 18:27:18 +0000 (19:27 +0100)
commit0fad4ed7b230f593539b2da9cadbb77cb3a3131a
treecd1e44176e99a0ed20e912e876746207e5438bd7
parent27eeb1feed5c85877f39ff05f6fde0b538b8b9fc
ASoC: TWL6040: Correct widget handling for drivers

In order to reduce pop-noise at powering up/down of the DACs and Drivers,
these components have to be handled in a specific sequence. Headset,
Handsfree, and Earphone drivers are now registered as PGA components to
ensure DACs are enabled first.

Also, add a delay to leave time for DACs to settle before
continuing power up/down sequence.

Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/twl6040.c