diff options
author | Krishna Kurapati <[email protected]> | 2024-04-20 10:18:59 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-04-23 19:56:09 -0700 |
commit | 2bfc9916a0e49a65557d8f5332effdce9ddeb7e0 (patch) | |
tree | 09b69a8e45d0fae42beeeb73a0a0662e1ba47d6c /drivers/usb/misc/onboard_usb_dev.c | |
parent | 6410c8033ba74bf6be19515be5164161abd5ef63 (diff) |
usb: dwc3: qcom: Refactor IRQ handling in glue driver
On multiport supported controllers, each port has its own DP/DM and
SuperSpeed (if super speed capable) interrupts. As per the bindings,
their interrupt names differ from single-port ones by having a "_x"
added as suffix (x being the port number). Identify from the interrupt
names whether the controller is a multiport controller or not.
Refactor dwc3_qcom_setup_irq() call to parse multiportinterrupts along
with non-multiport ones accordingly.
Signed-off-by: Krishna Kurapati <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Thinh Nguyen <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Tested-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/misc/onboard_usb_dev.c')
0 files changed, 0 insertions, 0 deletions