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>
Wed, 18 Apr 2012 21:13:53 +0000 (14:13 -0700)
commit532f17b5d59bf0deb6f1ff9bc1fb27d5b5011c09
treec1ba51812d205b3c2a445b577af7a403bb336cf1
parent523fc5c14f6cad283e5a266eba0e343aed6e73d5
USB: yurex: Fix missing URB_NO_TRANSFER_DMA_MAP flag in urb

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/yurex.c