patch "usb: host: xhci-tegra: fix tegra_xusb_get_phy()" added to usb-linus
Subsystems (4)
This is a note to let you know that I've just added the patch titled
usb: host: xhci-tegra: fix tegra_xusb_get_phy()
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
From d54343a87732726b04ac5af873916b5ed4f52932 Mon Sep 17 00:00:00 2001
From: JC Kuo <[email protected]>
Date: Tue, 11 Aug 2020 17:25:53 +0800
Subject: usb: host: xhci-tegra: fix tegra_xusb_get_phy()
tegra_xusb_get_phy() should take input argument "name".
--- drivers/usb/host/xhci-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-tegra.c +1 -1
@@ -1136,7 +1136,7 @@ static struct phy *tegra_xusb_get_phy(struct tegra_xusb *tegra, char *name,unsigned int i, phy_count =0 ;for (i =0 ; i < tegra->soc->num_types; i++) { -if (!strncmp (tegra->soc->phy_types[i].name,"usb2" , +if (!strncmp (tegra->soc->phy_types[i].name, name,strlen (name)))return tegra->phys[phy_count+port];
Signature · 1 line
2.28.0