Revision 1530f6f5f5806b2abbf2a9276c0db313ae9a0e09 authored by Qi Zhou on 04 January 2020, 11:02:01 UTC, committed by Greg Kroah-Hartman on 08 January 2020, 16:44:11 UTC
According to bd0e6c9614b9 ("usb: hub: try old enumeration scheme first
for high speed devices") the kernel will try the old enumeration scheme
first for high speed devices.  This can happen when a high speed device
is plugged in.

But due to missing parentheses in the USE_NEW_SCHEME define, this logic
can get messed up and the incorrect result happens.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Qi Zhou <atmgnd@outlook.com>
Link: https://lore.kernel.org/r/ht4mtag8ZP-HKEhD0KkJhcFnVlOFV8N8eNjJVRD9pDkkLUNhmEo8_cL_sl7xy9mdajdH-T8J3TFQsjvoYQT61NFjQXy469Ed_BbBw_x4S1E=@protonmail.com
[ fixup changelog text - gregkh]
Cc: stable <stable@vger.kernel.org>
Fixes: bd0e6c9614b9 ("usb: hub: try old enumeration scheme first for high speed devices")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ba9b408
History
File Mode Size
ad1816a
ad1848
cs423x
es1688
galaxy
gus
msnd
opti9xx
sb
wavefront
wss
Kconfig -rw-r--r-- 12.7 KB
Makefile -rw-r--r-- 892 bytes
adlib.c -rw-r--r-- 2.7 KB
als100.c -rw-r--r-- 9.7 KB
azt2320.c -rw-r--r-- 8.9 KB
cmi8328.c -rw-r--r-- 13.4 KB
cmi8330.c -rw-r--r-- 21.8 KB
es18xx.c -rw-r--r-- 68.7 KB
opl3sa2.c -rw-r--r-- 28.4 KB
sc6000.c -rw-r--r-- 17.1 KB
sscape.c -rw-r--r-- 32.0 KB

back to top