]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 17:16:36 +0000 (10:16 -0700)
commit933048c3767bf024c1e8aa7bdaea5bea357c8edc
tree011409ee767c63c2cce757986771fbaba63a4a8a
parentf05982d97437dc87d913c3467eca4dc851e05234
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>
drivers/usb/misc/yurex.c