OSDN Git Service

xhci: plat: Fix xhci_plat shutdown hung
authorLei wang <leiwan@codeaurora.org>
Fri, 2 Feb 2018 03:22:38 +0000 (11:22 +0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 2 Feb 2018 04:38:33 +0000 (20:38 -0800)
commita7a5307ee04ad349d365ad50f304605a9cd9bd0a
treec23b2e6b056f97d1061200c44954de36698e2864
parent34594476949dac8c97149a5ba96f18db769fa280
xhci: plat: Fix xhci_plat shutdown hung

xhci-plat Shutdown callback should check HCD_FLAG_HW_ACCESSIBLE
before accessing any register. This should avoid hung with access
controllers which support runtime suspend

Change-Id: I53eedf5b8f77dfdfa31d21b303da7058c5a86ba9
Signed-off-by: Lei wang <leiwan@codeaurora.org>
drivers/usb/host/xhci.c