Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15199
b: refs/heads/master
c: 42245e6
h: refs/heads/master
i:
  15197: ed6e5c9
  15195: 00ae55e
  15191: 93c8992
  15183: 25c3bda
  15167: f30b07b
v: v3
  • Loading branch information
Alan Stern authored and Linus Torvalds committed Dec 16, 2005
1 parent 04f530a commit 2c9b32f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 42f3ab42875a52af7e711803bfb8d8d7cca84c1c
refs/heads/master: 42245e65f356ed54fdf7a1f9a0095e0bc40f73a3
2 changes: 2 additions & 0 deletions trunk/drivers/usb/host/uhci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@ static int uhci_suspend(struct usb_hcd *hcd, pm_message_t message)
* at the source, so we must turn off PIRQ.
*/
pci_write_config_word(to_pci_dev(uhci_dev(uhci)), USBLEGSUP, 0);
mb();
clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
uhci->hc_inaccessible = 1;
hcd->poll_rh = 0;
Expand All @@ -738,6 +739,7 @@ static int uhci_resume(struct usb_hcd *hcd)
* really don't want to keep a stale HCD_FLAG_HW_ACCESSIBLE=0
*/
set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
mb();

if (uhci->rh_state == UHCI_RH_RESET) /* Dead */
return 0;
Expand Down

0 comments on commit 2c9b32f

Please sign in to comment.