Skip to content

Commit

Permalink
[PATCH] ub: Comment out unconditional stall clear
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pete Zaitcev authored and Linus Torvalds committed Sep 22, 2005
1 parent 3a8c1e2 commit c6c8883
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/block/ub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2217,8 +2217,10 @@ static int ub_probe(struct usb_interface *intf,
* This is needed to clear toggles. It is a problem only if we do
* `rmmod ub && modprobe ub` without disconnects, but we like that.
*/
#if 0 /* iPod Mini fails if we do this (big white iPod works) */
ub_probe_clear_stall(sc, sc->recv_bulk_pipe);
ub_probe_clear_stall(sc, sc->send_bulk_pipe);
#endif

/*
* The way this is used by the startup code is a little specific.
Expand Down

0 comments on commit c6c8883

Please sign in to comment.