Re: [PATCH v16 6/9] usb: dwc3: qcom: Add helper function to request wakeup interrupts
From: Johan Hovold
Date: Mon Mar 25 2024 - 11:20:03 EST
On Thu, Mar 07, 2024 at 11:50:49AM +0530, Krishna Kurapati wrote:
> 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 DT.
>
> Signed-off-by: Krishna Kurapati <quic_kriskura@xxxxxxxxxxx>
Reviewed-by: Johan Hovold <johan+linaro@xxxxxxxxxx>