summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2010-09-01 18:37:12 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 13:36:22 -0700
commitaef30a0bfdf6c10565285fff1ae8400b34ee0d81 (patch)
tree3ee4c3f0f6e5cf11cc9f1aa0bc73c28c9d40b699 /mm/mempolicy.c
parent652d6da0a0a42632330737e1d6d87c82da819fcf (diff)
downloadkernel-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