]> 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)
commit4f42ae71fbe7a8ff3be3961584a7eb436f2ecf35
treec909fcbcc4c673c91839298a01ed5d4ac7c25eea
parent39591a2cf41b7a001837b65d889da6d8439f60f6
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: bf1d7efd13cb8 ("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