mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V1] usb: Fix typo in comment
@ 2022-12-19  1:38 Gongwei Li
  2022-12-19  1:59 ` Bagas Sanjaya
  2022-12-19 15:44 ` Mathias Nyman
  0 siblings, 2 replies; 3+ messages in thread
From: Gongwei Li @ 2022-12-19  1:38 UTC (permalink / raw)
  To: mathias.nyman, gregkh; +Cc: linux-usb, linux-kernel, ligongwei

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
 	 * switch the USB 2.0 power and data lines over to the xHCI
 	 * host.
 	 */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V1] usb: Fix typo in comment
  2022-12-19  1:38 [PATCH V1] usb: Fix typo in comment Gongwei Li
@ 2022-12-19  1:59 ` Bagas Sanjaya
  2022-12-19 15:44 ` Mathias Nyman
  1 sibling, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2022-12-19  1:59 UTC (permalink / raw)
  To: Gongwei Li, mathias.nyman, gregkh; +Cc: linux-usb, linux-kernel, ligongwei

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Mon, Dec 19, 2022 at 09:38:37AM +0800, Gongwei Li wrote:
> From: Gongwei Li <ligongwei@kylinos.cn>
> 
> Spelling mistake in comment.

xHCI typos in usb_enable_intel_xhci_ports()?

> 
> Signed-off-by: Gongwei Li <ligongwei@kylinos.cn>

Then why did you send this from @hotmail.com (your personal) address? Please
talk to your company to fix email system so that you can send to and receive
from LKML. Why also not passing your personal address as --reply-to to
git-send-email(1)? (Spammers tend to abuse Reply-to: header, though.)

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V1] usb: Fix typo in comment
  2022-12-19  1:38 [PATCH V1] usb: Fix typo in comment Gongwei Li
  2022-12-19  1:59 ` Bagas Sanjaya
@ 2022-12-19 15:44 ` Mathias Nyman
  1 sibling, 0 replies; 3+ messages in thread
From: Mathias Nyman @ 2022-12-19 15:44 UTC (permalink / raw)
  To: Gongwei Li, mathias.nyman, gregkh; +Cc: linux-usb, linux-kernel, ligongwei

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-19 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-19  1:38 [PATCH V1] usb: Fix typo in comment Gongwei Li
2022-12-19  1:59 ` Bagas Sanjaya
2022-12-19 15:44 ` Mathias Nyman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®