]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
authorTeresa Remmet <t.remmet@phytec.de>
Wed, 14 Jun 2023 12:52:40 +0000 (14:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jun 2023 09:14:09 +0000 (11:14 +0200)
commit2b1ffbbfccc3cfd212f4ed55c5698c234a9b6e7f
tree020bbd5ee82f75ea94dab00737b53209527f02e0
parenta9eea081e111dcc6f035a6ae5080de8ffc633f41
regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK

[ Upstream commit 7257d930aadcd62d1c7971ab14f3b1126356abdc ]

L3_OUT and L4_OUT Bit fields range from Bit 0:4 and thus the
mask should be 0x1F instead of 0x0F.

Fixes: 0935ff5f1f0a ("regulator: pca9450: add pca9450 pmic driver")
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://lore.kernel.org/r/20230614125240.3946519-1-t.remmet@phytec.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/regulator/pca9450.h