On Tue, August 31, 2010 07:41, Clemens Ladisch wrote:
If the transfer type doesn't match the pipe type then yes, but only when
CONFIG_USB_DEBUG is enabled.
Perhaps these need to be moved to a CONFIG_USB_STRICT. Having a "debug" mode
change the behaviour is not a good idea, but some of the code in that ifdef
has been there since the import to git.
Regardless of which configuration option enables it, the pipe type
check needs an error message to explain why the driver received -EPIPE.
--
Simon Arlott
--