summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-08-27 14:51:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-06 10:20:57 +0200
commit6b2f9ecf5d2c0d1aadead91b25bb11b205487772 (patch)
tree737fd2a709f73756f2d0e4b21922e199486437eb /drivers
parent8e7ca9eecdc9e8afd3700e64685d1817234b5b71 (diff)
downloadlinux-stable-6b2f9ecf5d2c0d1aadead91b25bb11b205487772.tar.gz
linux-stable-6b2f9ecf5d2c0d1aadead91b25bb11b205487772.tar.bz2
linux-stable-6b2f9ecf5d2c0d1aadead91b25bb11b205487772.zip
usb: host: xhci: rcar: Fix typo in compatible string matching
commit 636bd02a7ba9025ff851d0cfb92768c8fa865859 upstream. It's spelled "renesas", not "renensas". Due to this typo, RZ/G1M and RZ/G1N were not covered by the check. Fixes: 2dc240a3308b ("usb: host: xhci: rcar: retire use of xhci_plat_type_is()") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: stable <stable@vger.kernel.org> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/20190827125112.12192-1-geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/xhci-rcar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index 544e03452877..08eea4c402ee 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -113,7 +113,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)