power: supply: ab8500_charger: Oneshot threaded IRQs
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Dec 2020 10:57:10 +0000 (11:57 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 12 Dec 2020 21:07:45 +0000 (22:07 +0100)
commit532b623f3c86d5166a8bb8acaa94fc3629d8ba97
tree8e6f90861b233c1e6cfad19b15217010ddca9e06
parentf8efa0a881e2504d55a1d8d9e8dff847a378d717
power: supply: ab8500_charger: Oneshot threaded IRQs

Make sure the threaded IRQs requested by the charger are
flagged as "oneshot". Usually this is what you want, and
since the interrupts are shared with the USB phy on the
AB8500 we will get a conflict like this if we don't,
since the phy request them threaded oneshot:

genirq: Flags mismatch irq 83. 00004084 (USB_LINK_STATUS
  vs. 00006084 (usb-link-status)
ab8500-charger ab8500-charger.0: failed to request
  USB_LINK_STATUS IRQ 83: -16

Cc: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_charger.c