]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: host: xhci-dbg: HCIVERSION should be a binary number
authorPeter Chen <peter.chen@nxp.com>
Thu, 9 Mar 2017 13:39:36 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Mar 2017 11:18:41 +0000 (19:18 +0800)
commit7202353681d5ada29e12029f1bc187bc098d552d
tree05fdec0081d7836196886c1aa031f70225dbe267
parent222095ea64875d3f6e2d4c58b03df8220d164c35
usb: host: xhci-dbg: HCIVERSION should be a binary number

commit f95e60a7dbecd2de816bb3ad517b3d4fbc20b507 upstream.

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".

Cc: Lu Baolu <baolu.lu@linux.intel.com>
Fixes: 04abb6de2825 ("xhci: Read and parse new xhci 1.1 capability register")
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbg.c