]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: yurex: Fix missing URB_NO_TRANSFER_DMA_MAP flag in urb
authorTomoki Sekiyama <tomoki.sekiyama@gmail.com>
Thu, 29 Mar 2012 23:51:36 +0000 (08:51 +0900)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:13:54 +0000 (13:13 +0100)
commit8047d2777a1a75d796b20876897c166de9664937
tree122477421af7b08f5b8165c3b4840032838402f8
parente0d502ac7fd46a9b1125404be1b6eeb383cdd833
USB: yurex: Fix missing URB_NO_TRANSFER_DMA_MAP flag in urb

commit 532f17b5d59bf0deb6f1ff9bc1fb27d5b5011c09 upstream.

Current probing code is setting URB_NO_TRANSFER_DMA_MAP flag into a wrong urb
structure, and this causes BUG_ON with some USB host implementations.
This patch fixes the issue.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/misc/yurex.c