Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364656
b: refs/heads/master
c: 492a390
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 77ea515 commit b149816
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 430e958e1d732b1d27d9ba31cdf79e5656b1a41b
refs/heads/master: 492a39022ad5825d8edbbdca993e18bf3f37f5fc
3 changes: 0 additions & 3 deletions trunk/drivers/usb/gadget/s3c-hsudc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,6 @@ static int s3c_hsudc_start(struct usb_gadget *gadget,
return -EBUSY;

hsudc->driver = driver;
hsudc->gadget.dev.driver = &driver->driver;

ret = regulator_bulk_enable(ARRAY_SIZE(hsudc->supplies),
hsudc->supplies);
Expand Down Expand Up @@ -1190,7 +1189,6 @@ static int s3c_hsudc_start(struct usb_gadget *gadget,
regulator_bulk_disable(ARRAY_SIZE(hsudc->supplies), hsudc->supplies);
err_supplies:
hsudc->driver = NULL;
hsudc->gadget.dev.driver = NULL;
return ret;
}

Expand All @@ -1208,7 +1206,6 @@ static int s3c_hsudc_stop(struct usb_gadget *gadget,

spin_lock_irqsave(&hsudc->lock, flags);
hsudc->driver = NULL;
hsudc->gadget.dev.driver = NULL;
hsudc->gadget.speed = USB_SPEED_UNKNOWN;
s3c_hsudc_uninit_phy();

Expand Down

0 comments on commit b149816

Please sign in to comment.