diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2015-03-05 18:39:22 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-05 19:51:58 +0300 |
commit | fcf638f9953eb7f3b97fad7e970ae59dcdbd70c1 (patch) | |
tree | 6a5ea022aa33f0081cb804ab4cb56be08873aa71 /Documentation/devicetree/bindings/sound/wm8804.txt | |
parent | 0be9653a02830637ed385d99bf898d456e8eae8f (diff) | |
download | linux-fcf638f9953eb7f3b97fad7e970ae59dcdbd70c1.tar.xz |
ASoC: wm8804: Fix small issues in probe error paths
This patch fixes some small issues on the probe error paths. Firstly,
fail probe if we can't register the regulator notifiers as this
will cause the cache to never be synchronised which will result in odd
behaviour if the regulators are controllable. Secondly, we don't need to
call regulator_bulk_disable if the enable fails, because the regulator
core will handle this clean up for us. Finally, we need to disable the
regulators if snd_soc_register_codecs fails.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/wm8804.txt')
0 files changed, 0 insertions, 0 deletions