Commit 7ab0d355 authored by Marek Vasut's avatar Marek Vasut
Browse files

usb: ehci: Clear USBMODE_BE on LE MMIO

If the USB EHCI is configured for little endian MMIO, make sure to
clear the USBMODE_BE flag from the USBMODE register.
Signed-off-by: default avatarMarek Vasut <>
Cc: Daniel Schwierzeck <>
Cc: Hans de Goede <>
parent cf7c93cd
......@@ -134,6 +134,8 @@ static void ehci_set_usbmode(struct ehci_ctrl *ctrl)
tmp |= USBMODE_BE;
tmp &= ~USBMODE_BE;
ehci_writel(reg_ptr, tmp);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment