Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248713
b: refs/heads/master
c: 7d670a2
h: refs/heads/master
i:
  248711: 2e01312
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Apr 13, 2011
1 parent 24fe6d0 commit 1d86342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 4661ffc91befc8c5ee080720120da1d53851060a
refs/heads/master: 7d670a2ed770a3405a7edb1159e3fa9b3f43fe46
7 changes: 1 addition & 6 deletions trunk/drivers/usb/host/uhci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ static void finish_reset(struct uhci_hcd *uhci)
uhci->port_c_suspend = uhci->resuming_ports = 0;
uhci->rh_state = UHCI_RH_RESET;
uhci->is_stopped = UHCI_IS_STOPPED;
uhci_to_hcd(uhci)->state = HC_STATE_HALT;
clear_bit(HCD_FLAG_POLL_RH, &uhci_to_hcd(uhci)->flags);

uhci->dead = 0; /* Full reset resurrects the controller */
Expand Down Expand Up @@ -188,10 +187,6 @@ static void configure_hc(struct uhci_hcd *uhci)
outw(uhci->frame_number & UHCI_MAX_SOF_NUMBER,
uhci->io_addr + USBFRNUM);

/* Mark controller as not halted before we enable interrupts */
uhci_to_hcd(uhci)->state = HC_STATE_SUSPENDED;
mb();

/* Enable PIRQ */
pci_write_config_word(pdev, USBLEGSUP, USBLEGSUP_DEFAULT);

Expand Down Expand Up @@ -360,7 +355,6 @@ __acquires(uhci->lock)

static void start_rh(struct uhci_hcd *uhci)
{
uhci_to_hcd(uhci)->state = HC_STATE_RUNNING;
uhci->is_stopped = 0;

/* Mark it configured and running with a 64-byte max packet.
Expand Down Expand Up @@ -449,6 +443,7 @@ static irqreturn_t uhci_irq(struct usb_hcd *hcd)
lprintk(errbuf);
}
uhci_hc_died(uhci);
usb_hc_died(hcd);

/* Force a callback in case there are
* pending unlinks */
Expand Down

0 comments on commit 1d86342

Please sign in to comment.