diff options
author | Cheng-Yi Chiang <cychiang@chromium.org> | 2018-11-16 17:28:56 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-16 19:19:49 -0800 |
commit | 746dca0aebd4d77adccb76c500a60028a900dabb (patch) | |
tree | 379070d37109e0e9ac2e05785cf13b0273fcdf80 /sound/soc/codecs/tlv320aic3x.c | |
parent | 00347e4ea8ca4c6ed5e254d7cebad0917175a07e (diff) |
ASoC: rt5663: Fix error handling of regulator_set_load
The default implementation of regulator_set_load returns
REGULATOR_MODE_NORMAL, which is positive. [This was a bug which is
being fixed but the change is valid anyway -- bronie]
rt5663_i2c_probe should only do error handling when return value of
regulator_set_load is negative.
In this case, rt5663_i2c_probe should return error.
Also, consolidate err_irq into err_enable.
Fix the missing goto for temporary regmap and rt5663->regmap.
Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.c')
0 files changed, 0 insertions, 0 deletions