regulator: palmas: Fix incorrect condition
Since 'id' cannot take two values at the same time, the condition should probably be an OR (||) instead of AND (&&). Introduced by commit 28d1e8cd ("regulator: palma: add ramp delay support through regulator constraints"). Signed-off-by:Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
parent
e4aa937e
Please register or sign in to comment