USB: ohci-pxa27x: Reconfigure power settings on resume
authorAric D. Blumer <aric@sdgsystems.com>
Thu, 30 Jul 2009 17:42:30 +0000 (13:42 -0400)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 10 Sep 2009 11:15:38 +0000 (19:15 +0800)
commita75d048e1409bb2bae0d71645c4f6247d2ce9276
tree2602e602a2ec94db18500d5be5fcf3f4a8273c1f
parent85c6102100150522f8fbc80cffdd08d1f8b66c87
USB: ohci-pxa27x: Reconfigure power settings on resume

On resume, the power-related bits in UHCRHDA were not being set, so
they would default to the reset state.  For PXA3xx devices, OCPM must
be cleared, but it was remaining set from resume reset.

Signed-off-by: Aric D. Blumer <aric@sdgsystems.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/usb/host/ohci-pxa27x.c