]> git.baikalelectronics.ru Git - kernel.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>
Thu, 9 Mar 2017 17:00:39 +0000 (18:00 +0100)
commit94b0964dfc1666c97ae25be3dd73a7bc51210fd7
tree33c35dd3e36836bb85de921e68aef0878c0173a6
parent4854f1fad644f0b7869814561e583d0bdf8acaf4
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".

Cc: Lu Baolu <baolu.lu@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Fixes: 6cd5f550be60 ("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