aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorShen Guang <[email protected]>2014-01-08 14:45:42 +0800
committerGreg Kroah-Hartman <[email protected]>2014-01-08 15:01:11 -0800
commit08d1dec6f4054e3613f32051d9b149d4203ce0d2 (patch)
tree74441f57ac7c61700c08e78d66d2ae764d6b26dd /scripts/gdb/linux/modules.py
parentac5166bcdb43889a5bd837f5076b78049e1f8bca (diff)
usb:hub set hub->change_bits when over-current happens
When we are doing compliance test with xHCI, we found that if we enable CONFIG_USB_SUSPEND and plug in a bad device which causes over-current condition to the root port, software will not be noticed. The reason is that current code don't set hub->change_bits in hub_activate() when over-current happens, and then hub_events() will not check the port status because it thinks nothing changed. If CONFIG_USB_SUSPEND is disabled, the interrupt pipe of the hub will report the change and set hub->event_bits, and then hub_events() will check what events happened.In this case over-current can be detected. Signed-off-by: Shen Guang <[email protected]> Acked-by: Alan Stern <[email protected]> Acked-by: Sarah Sharp <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions