ASoC: tpa6130a2: unmerge power enable error path from power disable path
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Mon, 26 Sep 2016 10:35:50 +0000 (13:35 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2016 16:07:53 +0000 (09:07 -0700)
commit020eab35390b976e6b93b61805002d3e2cd195de
tree6b930a984cee30b95c0edb33ae26add7d8010f30
parenta114580f8f3e5bdefc14d75d6c3ba7032210b980
ASoC: tpa6130a2: unmerge power enable error path from power disable path

Code undo operations in power enable errror path explicitly, instead of
reusing power disable path and playing with return values there.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tpa6130a2.c