summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2015-04-02 20:22:34 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-03 19:03:15 +0200
commitc6ab3aec4bc4beda2d6eb8ea43c6f5be3b215d3f (patch)
tree47213ec589205cc332c954849e01d8ab766d409d /drivers/usb/phy
parente845d64743ee397ff132e7f81e6bfb3597f9f479 (diff)
downloadop-kernel-dev-c6ab3aec4bc4beda2d6eb8ea43c6f5be3b215d3f.zip
op-kernel-dev-c6ab3aec4bc4beda2d6eb8ea43c6f5be3b215d3f.tar.gz
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>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/phy-rcar-gen2-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-rcar-gen2-usb.c b/drivers/usb/phy/phy-rcar-gen2-usb.c
index f838084..f81800b 100644
--- a/drivers/usb/phy/phy-rcar-gen2-usb.c
+++ b/drivers/usb/phy/phy-rcar-gen2-usb.c
@@ -47,7 +47,7 @@ struct rcar_gen2_usb_phy_priv {
/* USB General status register */
#define USBHS_UGSTS_REG 0x88
-#define USBHS_UGSTS_LOCK (3 << 8)
+#define USBHS_UGSTS_LOCK (1 << 8)
/* Enable USBHS internal phy */
static int __rcar_gen2_usbhs_phy_enable(void __iomem *base)
OpenPOWER on IntegriCloud