]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: da9121: Prevent current limit change when enabled
authorAdam Ward <Adam.Ward.opensource@diasemi.com>
Mon, 29 Nov 2021 22:10:12 +0000 (22:10 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 30 Nov 2021 13:08:17 +0000 (13:08 +0000)
commitf10d61efab46456badde0f6d30efc4575bff999f
treeef14e0ff751382a85ee6d178d03cfdb49f441273
parent2f6f17eb4fb133421c69954d4c9232c3152adbdc
regulator: da9121: Prevent current limit change when enabled

Prevent changing current limit when enabled as a precaution against
possibile instability due to tight integration with switching cycle

Signed-off-by: Adam Ward <Adam.Ward.opensource@diasemi.com>
Link: https://lore.kernel.org/r/52ee682476004a1736c1e0293358987319c1c415.1638223185.git.Adam.Ward.opensource@diasemi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9121-regulator.c