usb: host: xhci: move HC_STATE_SUSPENDED check to xhci_suspend()
authorFelipe Balbi <balbi@ti.com>
Fri, 19 Oct 2012 07:55:16 +0000 (10:55 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 12 Nov 2012 19:45:34 +0000 (11:45 -0800)
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>

No differences found