diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-07-11 11:21:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 16:50:12 -0700 |
commit | 631fe9d9d20e28fffdf750d12dd2cd275bd654e9 (patch) | |
tree | 83b560cbf25a7e3cdf60b8e80b2d1c174ba8f172 /drivers/usb/host/ehci-hub.c | |
parent | 1f9be64a6de34f8d4a2dce845af15063523a02e3 (diff) | |
download | linux-3.10-631fe9d9d20e28fffdf750d12dd2cd275bd654e9.tar.gz linux-3.10-631fe9d9d20e28fffdf750d12dd2cd275bd654e9.tar.bz2 linux-3.10-631fe9d9d20e28fffdf750d12dd2cd275bd654e9.zip |
USB: EHCI: initialize data before resetting hardware
Currently, EHCI initialization turns off the controller (in case it
was left running by the firmware) before setting up the ehci_hcd data
structure. This patch (as1565) reverses that order.
Although it doesn't matter now, it will matter later on when future
additions to ehci_halt() will want to acquire a spinlock that gets
initialized by ehci_init().
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
0 files changed, 0 insertions, 0 deletions