Files
linux/drivers
Hans de Goede 76d2ed844d power: supply: bq27xxx: Fix I2C IRQ race on remove
commit 444ff00734 upstream.

devm_request_threaded_irq() requested IRQs are only free-ed after
the driver's remove function has ran. So the IRQ could trigger and
call bq27xxx_battery_update() after bq27xxx_battery_teardown() has
already run.

Switch to explicitly free-ing the IRQ in bq27xxx_battery_i2c_remove()
to fix this.

Fixes: 8807feb91b ("power: bq27xxx_battery: Add interrupt handling support")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 12:42:14 +01:00
..
2022-05-01 17:00:38 +02:00
2023-05-17 11:13:16 +02:00
2022-04-15 14:15:00 +02:00
2023-03-11 16:31:48 +01:00
2023-05-30 12:42:14 +01:00
2022-08-25 11:15:43 +02:00