]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 26 Jan 2019 06:18:09 +0000 (22:18 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Jan 2019 12:21:48 +0000 (12:21 +0000)
commit403157a45fe5cb55b1a595cb9c87963e8b9542af
treec909fcbcc4c673c91839298a01ed5d4ac7c25eea
parenteb1a35f074def930f4a06af269f940f583b6700b
regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803

Looks like refactoring didn't go well and left ALDO2, DLDO2 and ELDO3
definitions broken for AXP803 - now they are using register address
instead of mask. Fix it by using mask where necessary.

Fixes: 6a624ed1dbd98 ("regulator: axp20x: use defines for masks")
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/axp20x-regulator.c