Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: phy: rcar-gen2-usb: Fix USBHS_UGSTS_LOCK value

According to the technical update (No. TN-RCS-B011A/E), the UGSTS LOCK
bit location is bit 8, not bits 9 and 8. So, this patch fixes the
USBHS_UGSTS_LOCK value.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Yoshihiro Shimoda and committed by
Greg Kroah-Hartman
c6ab3aec e845d647

+1 -1
+1 -1
drivers/usb/phy/phy-rcar-gen2-usb.c
··· 47 47 48 48 /* USB General status register */ 49 49 #define USBHS_UGSTS_REG 0x88 50 - #define USBHS_UGSTS_LOCK (3 << 8) 50 + #define USBHS_UGSTS_LOCK (1 << 8) 51 51 52 52 /* Enable USBHS internal phy */ 53 53 static int __rcar_gen2_usbhs_phy_enable(void __iomem *base)