staging: dwc2: rename dwc2_hcd_intr() to dwc2_handle_hcd_intr()
This makes the function name more clear and consistent with dwc2_handle_common_intr(). Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6aafb00385
commit
ca18f4a678
|
@ -2534,7 +2534,7 @@ static irqreturn_t _dwc2_hcd_irq(struct usb_hcd *hcd)
|
||||||
{
|
{
|
||||||
struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
|
struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
|
||||||
|
|
||||||
return dwc2_hcd_intr(hsotg);
|
return dwc2_handle_hcd_intr(hsotg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -646,14 +646,14 @@ extern void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg,
|
||||||
/* HCD Core API */
|
/* HCD Core API */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* dwc2_hcd_intr() - Called on every hardware interrupt
|
* dwc2_handle_hcd_intr() - Called on every hardware interrupt
|
||||||
*
|
*
|
||||||
* @hsotg: The DWC2 HCD
|
* @hsotg: The DWC2 HCD
|
||||||
*
|
*
|
||||||
* Returns IRQ_HANDLED if interrupt is handled
|
* Returns IRQ_HANDLED if interrupt is handled
|
||||||
* Return IRQ_NONE if interrupt is not handled
|
* Return IRQ_NONE if interrupt is not handled
|
||||||
*/
|
*/
|
||||||
extern irqreturn_t dwc2_hcd_intr(struct dwc2_hsotg *hsotg);
|
extern irqreturn_t dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* dwc2_hcd_stop() - Halts the DWC_otg host mode operation
|
* dwc2_hcd_stop() - Halts the DWC_otg host mode operation
|
||||||
|
|
|
@ -2062,7 +2062,7 @@ static void dwc2_hc_intr(struct dwc2_hsotg *hsotg)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This function handles interrupts for the HCD */
|
/* This function handles interrupts for the HCD */
|
||||||
irqreturn_t dwc2_hcd_intr(struct dwc2_hsotg *hsotg)
|
irqreturn_t dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg)
|
||||||
{
|
{
|
||||||
u32 gintsts, dbg_gintsts;
|
u32 gintsts, dbg_gintsts;
|
||||||
irqreturn_t retval = IRQ_NONE;
|
irqreturn_t retval = IRQ_NONE;
|
||||||
|
|
Loading…
Reference in New Issue