patch "usb: host: xhci-dbg: HCIVERSION should be a binary number" added to usb-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
usb: host: xhci-dbg: HCIVERSION should be a binary number
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.
Quoted 1 line
From
f95e60a7dbecd2de816bb3ad517b3d4fbc20b507Mon Sep 17 00:00:00 2001
From: Peter Chen <[email protected]>
Date: Thu, 9 Mar 2017 15:39:36 +0200
Subject: usb: host: xhci-dbg: HCIVERSION should be a binary number
According to xHCI spec, HCIVERSION containing a BCD encoding of the xHCI specification revision number, 0100h corresponds to xHCI version 1.0. Change "100" as "0x100".
1.1 capability register")
--- drivers/usb/host/xhci-dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-dbg.c +1 -1
@@ -109,7 +109,7 @@ static void xhci_print_cap_regs(struct xhci_hcd *xhci)xhci_dbg (xhci,"RTSOFF 0x%x:\n" , temp &RTSOFF_MASK );/* xhci 1.1 controllers have the HCCPARAMS2 register */ -if (hci_version >100 ) { +if (hci_version >0x100 ) { temp =readl (&xhci->cap_regs->hcc_params2);xhci_dbg (xhci,"HCC PARAMS2 0x%x:\n" , (unsigned int ) temp); xhci_dbg(xhci, " HC %s Force save context capability",
Signature · 1 line
2.12.0