]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf95e60a7dbecd2de816bb3ad517b3d4fbc20b507
tree33c35dd3e36836bb85de921e68aef0878c0173a6
parent20e4e37e4a2f1bfd43bcc8c3e666e47665036cc3
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: 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