]> git.baikalelectronics.ru Git - kernel.git/commit
USB: UHCI: Don't test the Short Packet Detect bit
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 31 Jul 2006 14:16:24 +0000 (10:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Aug 2006 23:41:42 +0000 (16:41 -0700)
commit2e5acc5c193abcdb1b4f38f2af126b6321a51dad
tree621e33c0649427125139c5a28b4ed4e3364ecc66
parentac72cfd3ceb451c4b1a20b61b4908c7eb64004a9
USB: UHCI: Don't test the Short Packet Detect bit

Apparently some UHCI controllers change the value of the Short Packet
Detect (SPD) bit in the TD status word -- presumably when they receive a
short packet.  This patch (as759) changes uhci-hcd to avoid assuming
that the bit is unchanged; in fact, the driver no longer looks at SPD at
all.

This fixes the second problem reported in Bugzilla #6752.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c