ASoC: tpa6130a2: Simplify power state management
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Tue, 30 Nov 2010 14:00:00 +0000 (16:00 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 30 Nov 2010 15:39:39 +0000 (15:39 +0000)
commitd5876ce1242b78987e6243ba3cb23bb61d44d4a9
tree088002cb822eff36c791f67a1982b65e272021f2
parent3e202345abc2cea09a3601df527629102f37e563
ASoC: tpa6130a2: Simplify power state management

Use simpler way to avoid setting the same power state
for the amplifier.
Simplifies the check introduced by patch:
ASoC: tpa6130a2: Fix unbalanced regulator disables

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Cc: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tpa6130a2.c