Skip to content

Commit 636bd02

Browse files
geertugregkh
authored andcommitted
usb: host: xhci: rcar: Fix typo in compatible string matching
It's spelled "renesas", not "renensas". Due to this typo, RZ/G1M and RZ/G1N were not covered by the check. Fixes: 2dc240a ("usb: host: xhci: rcar: retire use of xhci_plat_type_is()") Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: stable <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 993cc87 commit 636bd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/xhci-rcar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static int xhci_rcar_is_gen2(struct device *dev)
104104
return of_device_is_compatible(node, "renesas,xhci-r8a7790") ||
105105
of_device_is_compatible(node, "renesas,xhci-r8a7791") ||
106106
of_device_is_compatible(node, "renesas,xhci-r8a7793") ||
107-
of_device_is_compatible(node, "renensas,rcar-gen2-xhci");
107+
of_device_is_compatible(node, "renesas,rcar-gen2-xhci");
108108
}
109109

110110
static int xhci_rcar_is_gen3(struct device *dev)

0 commit comments

Comments
 (0)