OSDN Git Service

usb: host: xhci-rcar: Add a condition check about PLL active
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 3 Jul 2018 10:46:58 +0000 (19:46 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2018 14:37:19 +0000 (16:37 +0200)
commit5f9810730cf4c0315f30e2fa0daf273fb2d3cadb
tree4867dc1564c7524aa62ed507a9fb7c1ecb15563e
parented8603e11124ea2f5626e29d09680afcac71a9bb
usb: host: xhci-rcar: Add a condition check about PLL active

This patch adds a condition check about the PLL acvice of this
controller. Otherwise, the controller might cause hang when
any USB clocks are not supplied yet and accesses the xHCI registers.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-rcar.c