aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pfuze100-regulator.c
diff options
context:
space:
mode:
authorDingHua Ma <dinghua.ma.sz@gmail.com>2020-12-01 08:10:00 +0800
committerMark Brown <broonie@kernel.org>2020-12-04 18:56:12 +0000
commit291de1d102fafef0798cdad9666cd4f8da7da7cc (patch)
tree6513a94ca123217169389bbd0ab61607a81294e6 /drivers/regulator/pfuze100-regulator.c
parentregulator: Kconfig: Fix REGULATOR_QCOM_RPMH dependencies to avoid build error (diff)
downloadlinux-dev-291de1d102fafef0798cdad9666cd4f8da7da7cc.tar.xz
linux-dev-291de1d102fafef0798cdad9666cd4f8da7da7cc.zip
regulator: axp20x: Fix DLDO2 voltage control register mask for AXP22x
When I use the axp20x chip to power my SDIO device on the 5.4 kernel, the output voltage of DLDO2 is wrong. After comparing the register manual and source code of the chip, I found that the mask bit of the driver register of the port was wrong. I fixed this error by modifying the mask register of the source code. This error seems to be a copy error of the macro when writing the code. Now the voltage output of the DLDO2 port of axp20x is correct. My development environment is Allwinner A40I of arm architecture, and the kernel version is 5.4. Signed-off-by: DingHua Ma <dinghua.ma.sz@gmail.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Cc: <stable@vger.kernel.org> Fixes: db4a555f7c4c ("regulator: axp20x: use defines for masks") Link: https://lore.kernel.org/r/20201201001000.22302-1-dinghua.ma.sz@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/pfuze100-regulator.c')
0 files changed, 0 insertions, 0 deletions