Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: host: xhci-tegra: fix tegra_xusb_get_phy()

tegra_xusb_get_phy() should take input argument "name".

Signed-off-by: JC Kuo <jckuo@nvidia.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200811092553.657762-1-jckuo@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

JC Kuo and committed by
Greg Kroah-Hartman
d54343a8 316a2868

+1 -1
+1 -1
drivers/usb/host/xhci-tegra.c
··· 1136 1136 unsigned int i, phy_count = 0; 1137 1137 1138 1138 for (i = 0; i < tegra->soc->num_types; i++) { 1139 - if (!strncmp(tegra->soc->phy_types[i].name, "usb2", 1139 + if (!strncmp(tegra->soc->phy_types[i].name, name, 1140 1140 strlen(name))) 1141 1141 return tegra->phys[phy_count+port]; 1142 1142