aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core_intr.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-08-06 18:11:54 -0500
committerFelipe Balbi <balbi@ti.com>2015-09-27 10:54:31 -0500
commit1f91b4cc03556ba0d43ac80621dac8263cda3880 (patch)
tree93492018562be508549cd97f5398e05affbe906a /drivers/usb/dwc2/core_intr.c
parentusb: dwc3: Add frame length adjustment quirk (diff)
downloadlinux-dev-1f91b4cc03556ba0d43ac80621dac8263cda3880.tar.xz
linux-dev-1f91b4cc03556ba0d43ac80621dac8263cda3880.zip
usb: dwc2: rename all s3c_* to dwc2_*
this driver has long ago became dwc2.ko with both peripheral and host roles, there's no point in keeping the old function names. Acked-by: John Youn <johnyoun@synopsys.com> Tested-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/core_intr.c')
-rw-r--r--drivers/usb/dwc2/core_intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc2/core_intr.c b/drivers/usb/dwc2/core_intr.c
index 927be1e8b3dc..344a859c2153 100644
--- a/drivers/usb/dwc2/core_intr.c
+++ b/drivers/usb/dwc2/core_intr.c
@@ -129,7 +129,7 @@ static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg)
gotgctl = readl(hsotg->regs + GOTGCTL);
if (dwc2_is_device_mode(hsotg))
- s3c_hsotg_disconnect(hsotg);
+ dwc2_hsotg_disconnect(hsotg);
if (hsotg->op_state == OTG_STATE_B_HOST) {
hsotg->op_state = OTG_STATE_B_PERIPHERAL;
@@ -322,7 +322,7 @@ static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg)
* Report disconnect if there is any previous session established
*/
if (dwc2_is_device_mode(hsotg))
- s3c_hsotg_disconnect(hsotg);
+ dwc2_hsotg_disconnect(hsotg);
}
/*