Skip to content
Commit 3f484226 authored by Matthias Blankertz's avatar Matthias Blankertz Committed by Marek Vasut
Browse files

usb: xhci-rcar: deregister before deactivating clock



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.

Signed-off-by: default avatarMatthias Blankertz <matthias.blankertz@cetitec.com>
parent c3c86388
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment