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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 Dec 2015 02:25:59 +0000 (02:25 +0000)
commit9b0a13329f4b3c87cc8603c8cacd4e21c484cd07
tree95bcc22ca86893b2a263606bb32f067ed717e1af
parent7d190cac704c897beb13f4ed1a70b72112cbd65e
usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message

commit 5377adb092664d336ac212499961cac5e8728794 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/config.c