[PATCH] usb: host: xhci: rcar: Fix typo in compatible string matching

Subsystems: the rest, usb subsystem, usb xhci driver

STALE2533d LANDED

Landed in mainline as 636bd02a7ba9 on 2019-08-28.

2 messages, 2 authors, 2019-08-28 · open the first message on its own page

[PATCH] usb: host: xhci: rcar: Fix typo in compatible string matching

From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: 2019-08-27 12:51:17

It's spelled "renesas", not "renensas".

Due to this typo, RZ/G1M and RZ/G1N were not covered by the check.

Fixes: 2dc240a3308b269a ("usb: host: xhci: rcar: retire use of xhci_plat_type_is()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/usb/host/xhci-rcar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index 8616c52849c6d2a8..2b0ccd150209fe3a 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -104,7 +104,7 @@ static int xhci_rcar_is_gen2(struct device *dev)
 	return of_device_is_compatible(node, "renesas,xhci-r8a7790") ||
 		of_device_is_compatible(node, "renesas,xhci-r8a7791") ||
 		of_device_is_compatible(node, "renesas,xhci-r8a7793") ||
-		of_device_is_compatible(node, "renensas,rcar-gen2-xhci");
+		of_device_is_compatible(node, "renesas,rcar-gen2-xhci");
 }
 
 static int xhci_rcar_is_gen3(struct device *dev)
-- 
2.17.1

RE: [PATCH] usb: host: xhci: rcar: Fix typo in compatible string matching

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date: 2019-08-28 04:27:06

Hi Geert-san,
From: Geert Uytterhoeven, Sent: Tuesday, August 27, 2019 9:51 PM

It's spelled "renesas", not "renensas".

Due to this typo, RZ/G1M and RZ/G1N were not covered by the check.

Fixes: 2dc240a3308b269a ("usb: host: xhci: rcar: retire use of xhci_plat_type_is()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Oops! Thank you for your patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help