]> 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, 4 Feb 2019 08:54:20 +0000 (09:54 +0100)
commit64b542f6aa173760e29e3c660cab0ee031fa144f
tree380bf0d1cb5e7ce0483f47a06d1ac175fd9c75d4
parentb949223c54ab8a6ba5fdb87b8b4ea6a1f8fe92ff
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