commit | 77b847677e7cb633627a9ddaa7efbc3fa8586427 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Fri Oct 19 10:55:16 2012 +0300 |
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Mon Nov 12 11:45:34 2012 -0800 |
tree | ef429fad8f64d69f81e028fa32ace84705dd5997 | |
parent | b0e4e606ff6ff26da0f60826e75577b56ba4e463 [diff] |
usb: host: xhci: move HC_STATE_SUSPENDED check to xhci_suspend() that check will have to be done by all users of xhci_suspend() so it sounds a lot better to move the check to xhci_suspend() in order to avoid code duplication. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>