diff options
author | Biju Das <[email protected]> | 2023-05-30 17:17:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-06-13 11:51:55 +0200 |
commit | 3e6ac852fbc71a234de24b5455086f6b98d3d958 (patch) | |
tree | cf7d7be17828c6841d4c8932917462a266ff9c0d /drivers/fpga/fpga-mgr.c | |
parent | 7b672f282cf4712cb392ef798f0305cc4de32454 (diff) |
usb: gadget: udc: renesas_usb3: Fix RZ/V2M {modprobe,bind} error
Currently {modprobe, bind} after {rmmod, unbind} results in probe failure.
genirq: Flags mismatch irq 22. 00000004 (85070400.usb3drd) vs. 00000004 (85070400.usb3drd)
renesas_usb3: probe of 85070000.usb3peri failed with error -16
The reason is, it is trying to register an interrupt handler for the same
IRQ twice. The devm_request_irq() was called with the parent device.
So the interrupt handler won't be unregistered when the usb3-peri device
is unbound.
Fix this issue by replacing "parent dev"->"dev" as the irq resource
is managed by this driver.
Fixes: 9cad72dfc556 ("usb: gadget: Add support for RZ/V2M USB3DRD driver")
Cc: stable <[email protected]>
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions