USB: uss720: fix DMA-buffer allocation
authorJohan Hovold <jhovold@gmail.com>
Tue, 13 Aug 2013 11:27:40 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 20:51:02 +0000 (13:51 -0700)
commit9821aa9de97ccaaa16297d42a2c5a532c0032097
treeb6f0bc0caedfbe07b4f8013d1ef9502fddcf1501
parentcbf30a914e89883457512f01c6434f70e6d57d4d
USB: uss720: fix DMA-buffer allocation

Make sure the USB control request is allocated separately from
containing structure to prevent potential memory corruption on
non-cache-coherent systems.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/uss720.c