power: supply: Fix tps65217-charger vs vbus irq conflict
authorGrant B Adams <nemith592@gmail.com>
Wed, 23 Aug 2023 08:54:29 +0000 (10:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Oct 2023 11:54:28 +0000 (13:54 +0200)
commitea17be9d16f4422ba4e80e42cc54b0149fcf09ae
treea3a637b6987c4538aa94d56498d646b46547ce61
parent3865a64284cc4845c61cf3dc6c7246349d80cc49
power: supply: Fix tps65217-charger vs vbus irq conflict

Enabling the tps65217-charger driver/module causes an interrupt conflict
with the vbus driver resulting in a probe failure.
The conflict is resolved by changing both driver's threaded interrupt
request function from IRQF_ONESHOT to IRQF_SHARED.

Signed-off-by: Grant B Adams <nemith592@gmail.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20230823085430.6610-2-nemith592@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/power/supply/tps65217_charger.c