]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sunxi: axp209: Disable interrupts when intializing the axp209
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Jan 2015 15:39:20 +0000 (16:39 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Jan 2015 11:34:55 +0000 (12:34 +0100)
commit9dcf68fac888211758f43b2adf9b930d519a26da
treeb204dd5419aa5513c773b92c9d9236ffa02fe7ab
parentdaf22636c21462aed84f938b5de564f99769d136
sunxi: axp209: Disable interrupts when intializing the axp209

We do not use the axp209 interrupt, and at least in my mini-x (which does not
have a power button) the pwr-button pin and the irq pin are soldered together,
so if the axp209 keeps it irq asserted too long it will see a 10s pwr-button
press and hard power off the board, disabling the irqs fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/power/axp209.c