]> 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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:55 +0000 (13:54 -0700)
commit98f5adc2ba1389a46cdf0037deb823a672656626
tree4e48c623f3d824e89ebcd264af15d766f1ecaeac
parent1533b3eed5c2f38caa7a813163ff1f27264077bb
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: Andi Kleen <ak@linux.intel.com>
drivers/usb/core/hub.c