USB: EHCI: clear PHCD before resuming
authorAlek Du <alek.du@intel.com>
Mon, 10 May 2010 03:17:49 +0000 (11:17 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:45 +0000 (13:21 -0700)
commiteab80de01cb398419ef3305f35abcb367c647c8b
tree0cbf986a987df044234bba1ad0a1c6565268a4f1
parent17b2765ef8db8dc00a24a9afd4646bb3decffbd2
USB: EHCI: clear PHCD before resuming

This is a bug fix for PHCD (phy clock disable) low power feature:
After PHCD is set, any write to PORTSC register is illegal, so when
resume ports, clear PHCD bit first.

Signed-off-by: Alek Du <alek.du@intel.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c