USB: mos7720: fix broken control requests
authorJohan Hovold <jhovold@gmail.com>
Tue, 13 Aug 2013 11:27:34 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 19:49:27 +0000 (12:49 -0700)
commitef6c8c1d733e244f0499035be0dabe1f4ed98c6f
tree613007be3fb6a2d3690defa6d6a5730ea562c24a
parent304ab4ab079a8ed03ce39f1d274964a532db036b
USB: mos7720: fix broken control requests

The parallel-port code of the drivers used a stack allocated
control-request buffer for asynchronous (and possibly deferred) control
requests. This not only violates the no-DMA-from-stack requirement but
could also lead to corrupt control requests being submitted.

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/mos7720.c