diff options
author | Krishna Kurapati <[email protected]> | 2024-04-20 10:18:58 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-04-23 19:56:09 -0700 |
commit | 6410c8033ba74bf6be19515be5164161abd5ef63 (patch) | |
tree | 2843947c6721ba2872a8e4a66171275428408481 /scripts/generate_rust_analyzer.py | |
parent | 80adfb54044ec6bfa58c3babd86b7b233d44f906 (diff) |
usb: dwc3: qcom: Add helper function to request wakeup interrupts
The logic for requesting interrupts is duplicated for each interrupt. In
the upcoming patches that introduces support for multiport, it would be
better to clean up the duplication before reading mulitport related
interrupts.
Refactor interrupt setup call by adding a new helper function for
requesting the wakeup interrupts. To simplify implementation, make
the display name same as the interrupt name expected in Device tree.
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions