commit | c004b9fbc70ed36c77b9064e48bc98013d5be1a0 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Jan 17 16:39:20 2015 +0100 |
committer | Hans de Goede <hdegoede@redhat.com> | Thu Jan 22 12:34:55 2015 +0100 |
tree | b204dd5419aa5513c773b92c9d9236ffa02fe7ab | |
parent | f1865db7db5c8fc4a3c0d6fe9b8fe64669eea73a [diff] |
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>