Skip to content
Commit b3bd889d authored by Ben Hutchings's avatar Ben Hutchings Committed by Sasha Levin
Browse files

usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message

[ Upstream commit 5377adb0 ]

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: ff30cbc8

 ("usb: Use the USB_SS_MULT() macro to get the ...")
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 292e5af9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment