Peter Korsgaard 16d78bc255 dm9601: don't do usb transfers of data on stack
dm_{read,write}() were doing USB transfers of data on stack, which isn't
allowed. Fix it by kmalloc'ing a temporary buffer.
Clean up the error handling for short transfers while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-07-30 04:43:49 -04:00
..
2008-05-21 16:55:59 -07:00
2008-05-20 14:14:15 -07:00
2008-06-11 21:58:39 -04:00
2008-07-10 14:47:51 +01:00
2008-06-11 21:58:39 -04:00
2008-06-11 21:58:39 -04:00