diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2010-09-01 18:37:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-20 13:36:22 -0700 |
commit | aef30a0bfdf6c10565285fff1ae8400b34ee0d81 (patch) | |
tree | 3ee4c3f0f6e5cf11cc9f1aa0bc73c28c9d40b699 /mm/mempolicy.c | |
parent | 652d6da0a0a42632330737e1d6d87c82da819fcf (diff) | |
download | kernel-crypto-aef30a0bfdf6c10565285fff1ae8400b34ee0d81.tar.gz kernel-crypto-aef30a0bfdf6c10565285fff1ae8400b34ee0d81.tar.xz kernel-crypto-aef30a0bfdf6c10565285fff1ae8400b34ee0d81.zip |
USB: cxacru: Use a bulk/int URB to access the command endpoint
commit 902ffc3c707c1d459ea57428a619a807cbe412f9 upstream.
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 f661c6f8c67bd55e93348f160d590ff9edf08904, 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions