USB: mos7840: fix DMA to stack
authorJohan Hovold <jhovold@gmail.com>
Mon, 27 May 2013 12:44:40 +0000 (14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 May 2013 01:50:42 +0000 (10:50 +0900)
commit15ee89c3347fbf58a4361011eda5ac2731e45126
tree6b3c9f3e7165a27919b9e7f350695cdc2308b923
parent72ea18a558ed7a63a50bb121ba60d73b5b38ae30
USB: mos7840: fix DMA to stack

Fix regression introduced by commit 0eafe4de1a ("USB: serial: mos7840:
add support for MCS7810 devices") which used stack-allocated buffers for
control messages.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c