From: Marek Vasut Date: Wed, 23 May 2018 00:02:50 +0200 Subject: [U-Boot] [PATCH] usb: xhci-rcar: deregister before deactivating clock In-Reply-To: <2b833217-bec8-eef4-ae37-ffe92c9b643a@cetitec.com> References: <2b833217-bec8-eef4-ae37-ffe92c9b643a@cetitec.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/22/2018 04:12 PM, Matthias Blankertz wrote: > 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: Matthias Blankertz Applied, thanks -- Best regards, Marek Vasut