]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit5377adb092664d336ac212499961cac5e8728794
tree5c838c0ed09e5de11a6c466a75bc76f377ecc3cc
parentf9fa1887dcf26bd346665a6ae3d3f53dec54cba1
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: ff30cbc8da42 ("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