USB: mos7720: fix DMA buffers on stack and clean up send_mos_cmd
authorJohan Hovold <jhovold@gmail.com>
Mon, 28 Dec 2009 22:01:54 +0000 (23:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:56 +0000 (14:53 -0800)
commiteb771e2c6507e0a317e576a3147252ebcb64035a
tree0ac79e2e623c69e5f9143ad61e88f328efec39c3
parentabf492e7b3ae74873688cf9960283853a3054471
USB: mos7720: fix DMA buffers on stack and clean up send_mos_cmd

Change data-argument type from (void *) to (u8 *) to prevent endianess
problems.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c