ASoC: twl6040: Change event ordering for Earphone driver
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 13 Oct 2011 12:05:43 +0000 (15:05 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Oct 2011 16:19:40 +0000 (17:19 +0100)
commitaa1a41082fb8c47893186103bf53e96708041e1c
tree6bf84ba198e23d1ad51e229f73bbb16e59262d45
parentfac2f3e4dccfd97f5146065540486dd3f6a2bca5
ASoC: twl6040: Change event ordering for Earphone driver

It is better to switch HS Power Mode (if it was in low power mode) before
we enable the Earpiece driver. The switched off EP driver can filter out
noise coming from the Low Power to High Performance transition on the
HSL DAC.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c