lkml.org 
[lkml]   [2022]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V1] usb: Fix typo in comment
On 19.12.2022 3.38, Gongwei Li wrote:
> From: Gongwei Li <ligongwei@kylinos.cn>
>
> Spelling mistake in comment.
>
> Signed-off-by: Gongwei Li <ligongwei@kylinos.cn>
> ---
> drivers/usb/host/pci-quirks.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
> index ef08d68b9714..9710425e69aa 100644
> --- a/drivers/usb/host/pci-quirks.c
> +++ b/drivers/usb/host/pci-quirks.c
> @@ -1103,10 +1103,10 @@ void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev)
> pci_read_config_dword(xhci_pdev, USB_INTEL_USB2PRM,
> &ports_available);
>
> - dev_dbg(&xhci_pdev->dev, "Configurable USB 2.0 ports to hand over to xCHI: 0x%x\n",
> + dev_dbg(&xhci_pdev->dev, "Configurable USB 2.0 ports to hand over to xHCI: 0x%x\n",
> ports_available);
>
> - /* Write XUSB2PR, the xHC USB 2.0 Port Routing Register, to
> + /* Write XUSB2PR, the xHCI USB 2.0 Port Routing Register, to

xHC isn't a typo in this case, just refers to the actual xHC Extensible Host Controller itself.
The port routing register isn't part of the xHCI specification.

Thanks
-Mathias


\
 
 \ /
  Last update: 2022-12-19 16:46    [W:0.307 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site