diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-04-06 20:18:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-06 21:11:24 +0100 |
commit | c5d5b55b3c1a314137a251efc1001dfd435c6242 (patch) | |
tree | 3c4db66809c382761ac95fcd45f28e3f691b90d5 /Documentation/devicetree/bindings/regulator | |
parent | 4fb9a5060f73627303bc531ceaab1b19d0a24aef (diff) |
regulator: fan53555: Fix wrong TCS_SLEW_MASK
The support for TCS4525 regulator has been introduced with a wrong
ramp-rate mask, which has been defined as a logical expression instead
of a bit shift operation.
For clarity, fix it using GENMASK() macro.
Fixes: 914df8faa7d6 ("regulator: fan53555: Add TCS4525 DCDC support")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230406171806.948290-4-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
0 files changed, 0 insertions, 0 deletions