aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic3x.c
diff options
context:
space:
mode:
authorCheng-Yi Chiang <cychiang@chromium.org>2018-11-16 17:28:56 +0800
committerMark Brown <broonie@kernel.org>2018-11-16 19:19:49 -0800
commit746dca0aebd4d77adccb76c500a60028a900dabb (patch)
tree379070d37109e0e9ac2e05785cf13b0273fcdf80 /sound/soc/codecs/tlv320aic3x.c
parentASoC: amd: fix spelling mistake "Inavlid" -> "Invalid" (diff)
downloadlinux-dev-746dca0aebd4d77adccb76c500a60028a900dabb.tar.xz
linux-dev-746dca0aebd4d77adccb76c500a60028a900dabb.zip
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