USB: dwc2: hande irq on dead controller correctly
authorOliver Neukum <oneukum@suse.com>
Tue, 22 Aug 2023 11:24:55 +0000 (13:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2023 12:46:30 +0000 (14:46 +0200)
commit2ccbe85456b367d24d53f6ff9f5b2cafd0b54877
treed25d70f867c4d71f543a559d0a8c4a9dbe1a3b4f
parent09867af36969067d89c96ab1452656977f30e22a
USB: dwc2: hande irq on dead controller correctly

If the controller is dead, the honest answer to the
question whether it has caused an irq is: unknown
As the purpose of the irq return is to trigger switching
off an IRQ, the correct response if you cannot
determine if your device has caused the interrupt is
IRQ_HANDLED

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20230822112455.18957-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/hcd_intr.c