Fix tps65217-charger vs vbus irq conflict
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
Initial patches where emailed individually and not threaded. V2 patches sent as email thread. Feedback provided by [email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | power: supply: Fix tps65217-charger vs vbus irq conflictdrivers/ | +1 | 1 reply | |
| 2/2 | usb: musb: dsps: Fix vbus vs tps65217-charger irq conflictdrivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tony Lindgren |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Fix tps65217-charger vs vbus irq conflict
Both the tps65217-charger and vbus drivers are trying to allocate the same TPS65217 device interrupt line (TPS65217 is a TI power management IC) which results in the following error and a probe failure:
genirq: Flags mismatch irq 148. 00002000 (vbus) vs. 00000000 (tps65217-charger)
For the Beaglebone Black's config the tps65217-charger driver is currently disabled and therefore no conflict. Based on comments from Robert C Nelson this driver has been disabled for a long time and he is uncertain on the reasons why it was disabled. With a battery connected to the BBB, I re-enabled the tps65217-charger driver which resulted in the abovementioned.
The conflict is resolved by changing both driver's threaded interrupt request function from IRQF_ONESHOT to IRQF_SHARED.
Changes in v2:
Initial patches where emailed individually and not threaded. V2 patches sent as email thread. Feedback provided by [email protected]
Grant B Adams (2):
power: supply: Fix tps65217-charger vs vbus irq conflict
usb: musb: dsps: Fix vbus vs tps65217-charger irq conflict
drivers/power/supply/tps65217_charger.c | 2 +- drivers/usb/musb/musb_dsps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1