diff options
author | Sarah Sharp | 2011-03-11 22:49:55 +0100 |
---|---|---|
committer | Sarah Sharp | 2011-03-14 02:07:10 +0100 |
commit | ad73dff32e04cad1ff2af89512bf489224b503cc (patch) | |
tree | 0c8728f65b5ccc7c1f9752af4347211933c65662 /include/linux/usb/ch11.h | |
parent | usb: Initialize hcd->state roothubs. (diff) | |
download | kernel-qcow2-linux-ad73dff32e04cad1ff2af89512bf489224b503cc.tar.gz kernel-qcow2-linux-ad73dff32e04cad1ff2af89512bf489224b503cc.tar.xz kernel-qcow2-linux-ad73dff32e04cad1ff2af89512bf489224b503cc.zip |
xhci: Remove references to HC_STATE_RUNNING.
The USB core will set hcd->state to HC_STATE_RUNNING before calling
xhci_run, so there's no point in setting it twice. The USB core also
doesn't pay attention to HC_STATE_RUNNING on the resume path anymore; it
uses HCD_RH_RUNNING(), which looks at hcd->flags & (1U <<
HCD_FLAG_RH_RUNNING. Therefore, it's safe to remove the state set in
xhci_bus_resume().
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'include/linux/usb/ch11.h')
0 files changed, 0 insertions, 0 deletions