ASoC: TWL4030: Correct bypass event for voice sidetone
authorLopez Cruz, Misael <x0052729@ti.com>
Tue, 23 Jun 2009 00:34:07 +0000 (19:34 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Jun 2009 09:57:38 +0000 (10:57 +0100)
commit30808ca751c3b8d81e948efb8fed7451a8321010
treef731b114d0eabcad3bfa48c702611524de762b1f
parent328d0a138e3d7761f4db53fabf82279b90ea66dd
ASoC: TWL4030: Correct bypass event for voice sidetone

Event for voice sidetone was being interpreted as an
analog HiFi bypass event because VSTPGA register offset
is less than ARXR2_APGA_CTL offset. Reordering the
register checks allows to handle voice digital bypass
event properly.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c