]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message
authorBen Hutchings <ben@decadent.org.uk>
Wed, 18 Nov 2015 02:01:21 +0000 (02:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 22:45:52 +0000 (14:45 -0800)
commit2ad9f8873e1a4f2b74a92f5a18b762437e88a647
tree5c838c0ed09e5de11a6c466a75bc76f377ecc3cc
parentfec64561bf8f6d9a9cc5eb53f2139eba4f6d53b6
usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message

usb_parse_ss_endpoint_companion() now decodes the burst multiplier
correctly in order to check that it's <= 3, but still uses the wrong
expression if warning that it's > 3.

Fixes: 6dd0eea956b2 ("usb: Use the USB_SS_MULT() macro to get the ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/config.c