ASoC: TWL4030: Remove bypass tracking
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 28 Oct 2009 08:57:04 +0000 (10:57 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Oct 2009 10:04:21 +0000 (10:04 +0000)
commit78e08e2f209e5e7777e81919d32cfcddad126cfa
treeebdb55f705be7a74f994e9d6b7fc1c10a1a073ad
parent7dea7c01dac9b74faa9afa93fc9bb5f2d37521dc
ASoC: TWL4030: Remove bypass tracking

Since ASoC core now handling the codec bias differently
there is no need to do the tracking of bypass switch states
anymore.

Handling of the common bit for analog loopbacks is done with
DAPM_SUPPLY for the bypass paths.

Now this bit is only enabled when there is a complete analog
bypass path, compared to the previous implementation, when the
global switch was enabled if there were any of the analog
bypass switch was on (regardless if there were complete path or
not)

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