From: Sarah Sharp Date: Fri, 11 Mar 2011 21:49:55 +0000 (-0800) Subject: xhci: Remove references to HC_STATE_RUNNING. X-Git-Tag: v2.6.39-rc1~472^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad73dff32e04cad1ff2af89512bf489224b503cc;p=pandora-kernel.git 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 --- Reading git-diff-tree failed