From a432aad7006f07b84e430f86ea61b11df7eea2ce Mon Sep 17 00:00:00 2001 From: Thomas Makin Date: Fri, 28 Aug 2026 23:28:13 -0500 Subject: [PATCH] bm92t: revert to inline request_irq --- drivers/usb/typec/bm92txx.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/usb/typec/bm92txx.c b/drivers/usb/typec/bm92txx.c index f9517a53e63e..7f4843920079 100644 --- a/drivers/usb/typec/bm92txx.c +++ b/drivers/usb/typec/bm92txx.c @@ -2496,17 +2496,8 @@ static int bm92t_probe(struct i2c_client *client) INIT_DELAYED_WORK(&info->power_work, bm92t_power_work); if (client->irq > 0) { - /* - * Level-triggered (active-low) IRQ wired to BM92T36 ALERT. - * Use a threaded handler with IRQF_ONESHOT so the line is - * masked while bm92t_interrupt_handler runs i2c reads, then - * re-enabled after the work clears the controller's status. - * Without IRQF_ONESHOT this would re-enter immediately on - * the still-asserted line and "irq nobody cared" disable it. - */ - if (request_threaded_irq(client->irq, NULL, - bm92t_interrupt_handler, - IRQF_TRIGGER_LOW | IRQF_ONESHOT, "bm92t", + if (request_irq(client->irq, bm92t_interrupt_handler, + IRQF_TRIGGER_LOW, "bm92t", info)) { dev_err(&client->dev, "Request irq failed\n"); destroy_workqueue(info->event_wq);