sunxi: axp152: dcdc3 scale is 50mV / step not 25mV / step
authorHans de Goede <hdegoede@redhat.com>
Mon, 13 Oct 2014 12:51:40 +0000 (14:51 +0200)
committerTom Rini <trini@ti.com>
Mon, 13 Oct 2014 13:02:01 +0000 (09:02 -0400)
commit74bf7961a0af0b725d7f0376422d0bdd5bd3c707
treea148ba04398f6e83654c0799cca83bf7de48a77b
parentc7ad5cbb1ef2c33883f0fa7d0455095004fd306d
sunxi: axp152: dcdc3 scale is 50mV / step not 25mV / step

Currently uboot wrongly uses 25mV / step for dcdc3, this is a copy and paste
error introduced when adding the axp152_mvolt_to_target during review of the
axp152.c driver. This results in u-boot setting Vddr to 2.3V instead of 1.5V.

This commit fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/power/axp152.c