aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_gadget.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
-rw-r--r--drivers/usb/musb/musb_gadget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index 696e9e0b05af..b7b8b2bc4ee9 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -1937,7 +1937,8 @@ static int musb_gadget_stop(struct usb_gadget *g,
1937 stop_activity(musb, driver); 1937 stop_activity(musb, driver);
1938 otg_set_peripheral(musb->xceiv->otg, NULL); 1938 otg_set_peripheral(musb->xceiv->otg, NULL);
1939 1939
1940 dev_dbg(musb->controller, "unregistering driver %s\n", driver->function); 1940 dev_dbg(musb->controller, "unregistering driver %s\n",
1941 driver ? driver->function : "(removed)");
1941 1942
1942 musb->is_active = 0; 1943 musb->is_active = 0;
1943 musb->gadget_driver = NULL; 1944 musb->gadget_driver = NULL;