From: David Brownell Date: Thu, 28 Sep 2006 14:47:44 +0000 (+0300) Subject: musb_hdrc: fix some bugs in the updated host side code X-Git-Tag: v2.6.18-omap1~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23da5183108c13e21375057b4ff54080a0cfdca3;p=pandora-kernel.git musb_hdrc: fix some bugs in the updated host side code - Remove an oops in the queue fault cleanup path, caused by using the wrong giveback routine (heavy weight vs lighter-weight). Move a few key bits of code into that lighter weight version. - Trigger that lighter-weight cleanup during URB completion, when the URB in question can't yet been handed off to the hardware even if it's at the queue head. - Reduce syslog noise when those fault cleanup paths are triggered from scatterlist calls by usb-storage. - Paranoia: when scheduling, insist that the endpoint fifo isn't smaller than required. Oops observed courtesy of a slightly flakey usb-storage device, which once again proves itself handy for testing. Signed-off-by: David Brownell --- Reading git-diff-tree failed