kernel-fxtec-pro1x/drivers/usb/atm
Simon Arlott 902ffc3c70 USB: cxacru: Use a bulk/int URB to access the command endpoint
The command endpoint is either a bulk or interrupt endpoint, but using
the wrong type of transfer causes an error if CONFIG_USB_DEBUG is
enabled after commit f661c6f8c6, which
checks for this mismatch.

Detect which type of endpoint it is and use a bulk/int URB as
appropriate. There are other function calls specifying a bulk pipe,
but usb_clear_halt doesn't use the pipe type (only the endpoint) and
usb_bulk_msg auto-detects interrupt transfers.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: stable <stable@kernel.org> [.34 and newer]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-03 17:33:41 -07:00
..
cxacru.c USB: cxacru: Use a bulk/int URB to access the command endpoint 2010-09-03 17:33:41 -07:00
Kconfig USB: Remove redundant dependencies on USB_ATM. 2008-05-02 10:25:57 -07:00
Makefile
speedtch.c USB: speedtouch: fixed more brace and spacing coding style issues 2010-08-10 14:35:34 -07:00
ueagle-atm.c param: simple locking for sysfs-writable charp parameters 2010-08-11 23:04:31 +09:30
usbatm.c USB: speedtouch: fixed more brace and spacing coding style issues 2010-08-10 14:35:34 -07:00
usbatm.h usb: atm: fixed spacing and indentation coding style issues 2010-08-10 14:35:35 -07:00
xusbatm.c usb: atm: fixed spacing and indentation coding style issues 2010-08-10 14:35:35 -07:00