aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2005-09-22 03:49:45 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-22 10:58:26 -0400
commitc6c88834b2c6635df9d17695feb50c835bc8efc6 (patch)
tree2de03fe67fa25cd0be119bc32ed24ede01a77aef /drivers
parent3a8c1e2910daaff7590173e9d4ca07153e8a3517 (diff)
[PATCH] ub: Comment out unconditional stall clear
This code appears to be more trouble than it's worth, considering that no normal users reload drivers. So, we comment it for now. It is not removed outright for the benefit of hackers (that is, myself). Signed-off-by: Pete Zaitcev <zaitcev@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/ub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c
index dfe3581b482a..ed4d5006fe62 100644
--- a/drivers/block/ub.c
+++ b/drivers/block/ub.c
@@ -2217,8 +2217,10 @@ static int ub_probe(struct usb_interface *intf,
2217 * This is needed to clear toggles. It is a problem only if we do 2217 * This is needed to clear toggles. It is a problem only if we do
2218 * `rmmod ub && modprobe ub` without disconnects, but we like that. 2218 * `rmmod ub && modprobe ub` without disconnects, but we like that.
2219 */ 2219 */
2220#if 0 /* iPod Mini fails if we do this (big white iPod works) */
2220 ub_probe_clear_stall(sc, sc->recv_bulk_pipe); 2221 ub_probe_clear_stall(sc, sc->recv_bulk_pipe);
2221 ub_probe_clear_stall(sc, sc->send_bulk_pipe); 2222 ub_probe_clear_stall(sc, sc->send_bulk_pipe);
2223#endif
2222 2224
2223 /* 2225 /*
2224 * The way this is used by the startup code is a little specific. 2226 * The way this is used by the startup code is a little specific.