usb_clear_halt in USB serial drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg:

A lot of the USB serial drivers call usb_clear_halt in their open
methods.  Are these calls really needed?

There are comments about this in several of the drivers, particularly
whiteheat.  Most of them boil down to "work around HCD bugs".  As far
as anyone knows there are no remaining bugs of this sort in the HCDs
-- and if there were, it would be better to fix them instead of working
around them.

Another possibility has to do with firmware changes, but I don't see 
how a firmware update could require a bunch of clear-halts for bulk 
endpoints.

The cypress_m8 driver also calls usb_clear_halt from within its
completion routines, which is definitely wrong.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux