summaryrefslogtreecommitdiffstats
path: root/drivers/siox
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2021-05-20 13:18:11 +0200
committerMark Brown <broonie@kernel.org>2021-05-20 18:57:23 +0200
commit855bfff9d623e7aff6556bfb6831d324dec8d96a (patch)
tree80b077c53bd4812f5881ebee1c5eb8e5281a82e9 /drivers/siox
parentregulator: Check ramp_delay_table for regulator_set_ramp_delay_regmap (diff)
downloadlinux-855bfff9d623e7aff6556bfb6831d324dec8d96a.tar.xz
linux-855bfff9d623e7aff6556bfb6831d324dec8d96a.zip
regulator: fixed: Ensure enable_counter is correct if reg_domain_disable fails
dev_pm_genpd_set_performance_state() may fail, so had better to check it's return value before decreasing priv->enable_counter. Fixes: bf3a28cf4241 ("regulator: fixed: support using power domain for enable/disable") Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20210520111811.1806293-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/siox')
0 files changed, 0 insertions, 0 deletions