SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] usb: phy: rcar-gen2-usb: Fix USBHS_UGSTS_LOCK value
@ 2015-04-02 11:22 Yoshihiro Shimoda
  2015-04-27 19:45 ` Felipe Balbi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yoshihiro Shimoda @ 2015-04-02 11:22 UTC (permalink / raw)
  To: linux-sh

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>
---
 drivers/usb/phy/phy-rcar-gen2-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-28 11:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 11:22 [PATCH] usb: phy: rcar-gen2-usb: Fix USBHS_UGSTS_LOCK value Yoshihiro Shimoda
2015-04-27 19:45 ` Felipe Balbi
2015-04-28  1:36 ` Yoshihiro Shimoda
2015-04-28  9:55 ` Geert Uytterhoeven
2015-04-28 10:25 ` Yoshihiro Shimoda
2015-04-28 11:21 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox