Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213615
b: refs/heads/master
c: cf7d3c8
h: refs/heads/master
i:
  213613: eee02b9
  213611: 21736fd
  213607: 8f73d7d
  213599: 92cc6c7
v: v3
  • Loading branch information
Philippe Skowronski authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 7cc7b1d commit 66e7a4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c8458d59d424fcba2456d6cba5811ce01c3aedb9
refs/heads/master: cf7d3c8e579a643ff81ff95d51babdaf4c55f5f4
5 changes: 5 additions & 0 deletions trunk/drivers/usb/gadget/langwell_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3391,6 +3391,11 @@ static int langwell_udc_suspend(struct pci_dev *pdev, pm_message_t state)
/* save PCI state */
pci_save_state(pdev);

spin_lock_irq(&dev->lock);
/* stop all usb activities */
stop_activity(dev, dev->driver);
spin_unlock_irq(&dev->lock);

/* free dTD dma_pool and dQH */
if (dev->dtd_pool)
dma_pool_destroy(dev->dtd_pool);
Expand Down

0 comments on commit 66e7a4b

Please sign in to comment.