]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: da7219: Disable regulators on probe() failure
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Tue, 22 Dec 2015 18:27:51 +0000 (18:27 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Dec 2015 00:11:27 +0000 (00:11 +0000)
commit2fb5be68f067162c82b9acdfa05f61e5937d1b41
tree822a820b979b389c091be9f49bf5cf6d501f9660
parent0f10da2d61e39cefa9a6220df929905e1b21c438
ASoC: da7219: Disable regulators on probe() failure

If codec probe() function fails after supplies have been enabled
it should really tidy up and disable them again. This patch updates
the probe function to do just that.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c