Commit efac125b authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

USB: EHCI: Fix bug in updating root hub state during suspend



commit e8799906 (USB: EHCI: remove usages of hcd->state) removed the
hcd->state usage in EHCI driver.  Instead rh_state field of ehci_hcd
struct should be used. But the current code is still using
hcd->state. This bug is introduced during 3.4 kernel porting.

If rh_state field is not updated to SUSPEND during root hub suspend,
the root hub will not be resumed upon device connection or remote wakeup.

Change-Id: Id47e7c650c03cda2e7be00be4e8b92a47257fc6a
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent e163a199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment