diff options
Diffstat (limited to 'drivers/usb/gadget/langwell_udc.c')
-rw-r--r-- | drivers/usb/gadget/langwell_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c index b19a9e46e69d..42a88b680f25 100644 --- a/drivers/usb/gadget/langwell_udc.c +++ b/drivers/usb/gadget/langwell_udc.c | |||
@@ -1906,7 +1906,7 @@ static int langwell_stop(struct usb_gadget *g, | |||
1906 | 1906 | ||
1907 | /* unbind OTG transceiver */ | 1907 | /* unbind OTG transceiver */ |
1908 | if (dev->transceiver) | 1908 | if (dev->transceiver) |
1909 | (void)otg_set_peripheral(dev->transceiver, 0); | 1909 | (void)otg_set_peripheral(dev->transceiver->otg, 0); |
1910 | 1910 | ||
1911 | /* disable interrupt and set controller to stop state */ | 1911 | /* disable interrupt and set controller to stop state */ |
1912 | langwell_udc_stop(dev); | 1912 | langwell_udc_stop(dev); |