]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: core: Tolerate protocol stall during hub and port status read
authorLibor Pechacek <lpechacek@suse.cz>
Fri, 20 May 2011 12:53:25 +0000 (14:53 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:20:48 +0000 (11:20 -0400)
commit0297e6d82c208572618fb831bd6cd06672408877
tree056751a286220efc5e5ea61b9b190d96c1c29053
parentc3ab0773d7c302f79183673a33f519f00c144679
USB: core: Tolerate protocol stall during hub and port status read

commit 3824c1ddaf744be44b170a335332b9d6afe79254 upstream.

Protocol stall should not be fatal while reading port or hub status as it is
transient state.  Currently hub EP0 STALL during port status read results in
failed device enumeration.  This has been observed with ST-Ericsson (formerly
Philips) USB 2.0 Hub (04cc:1521) after connecting keyboard.

Signed-off-by: Libor Pechacek <lpechacek@suse.cz>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/usb/core/hub.c