During the execution of xhci_deregister xHCI registers are accessed. If the clock is already deactivated when xhci_deregister is called this can lead to undefined behavior. Change the order to deregister the device before deactivating the clock. Change-Id: I038a8b46e8ebf7733dc850aaeb2915add0fc79ce Signed-off-by: Matthias Blankertz <matthias.blankertz@cetitec.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 3f484226793166c75bd56784832d4c1a84061ad5) |
||
|---|---|---|
| .. | ||
| common | ||
| dwc3 | ||
| emul | ||
| eth | ||
| gadget | ||
| host | ||
| musb | ||
| musb-new | ||
| phy | ||
| ulpi | ||
| Kconfig | ||