Bob Copeland
c222fb2efa
USB: usb-storage: fix initializations of urb fields
...
Commit 0ede76fcec , "USB: remove uses of
URB_NO_SETUP_DMA_MAP" introduced a regression by inadvertantly removing
initialization of the transfer flags. This caused initialization
failures in the ums-karma driver. Fix the regression by zeroing it.
While at it, as Alan Stern points out, the initializers for
actual_length and status are handled by the core and error_count
only matters for isochronous urbs, so they don't need to be set here.
Remove them.
Signed-off-by: Bob Copeland <me@bobcopeland.com >
Acked-by: Alan Stern <stern@rowland.harvard.edu >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-07-26 12:00:58 -07:00
..
2010-07-24 23:26:22 -04:00
2010-07-01 15:34:48 -04:00
2010-05-22 00:36:56 -06:00
2010-05-25 08:07:09 -07:00
2010-07-26 08:05:31 -07:00
2010-06-15 08:12:34 +02:00
2010-07-01 21:28:14 -07:00
2010-07-21 19:27:07 -05:00
2010-07-20 16:25:41 -07:00
2010-07-01 09:39:48 +02:00
2010-07-19 14:11:24 +08:00
2010-07-02 15:46:17 -06:00
2010-07-20 16:25:40 -07:00
2010-06-02 19:48:13 +02:00
2010-05-21 09:37:31 -07:00
2010-07-20 16:25:41 -07:00
2010-07-22 11:45:57 -07:00
2010-07-11 23:13:15 +02:00
2010-07-09 16:22:51 +02:00
2010-07-11 13:35:34 -07:00
2010-06-02 17:50:38 +10:00
2010-05-28 14:26:20 -04:00
2010-05-27 10:22:06 -07:00
2010-07-08 13:27:05 -07:00
2010-07-22 11:46:15 -07:00
2010-06-26 22:12:02 -07:00
2010-06-03 11:33:58 +02:00
2010-06-03 15:46:37 -07:00
2010-06-24 13:36:04 +10:00
2010-07-08 16:50:24 -03:00
2010-05-27 09:12:41 -07:00
2010-06-03 11:33:58 +02:00
2010-07-20 16:25:41 -07:00
2010-07-20 16:25:41 -07:00
2010-06-07 17:10:06 -07:00
2010-07-20 16:26:42 -07:00
2010-05-22 00:36:56 -06:00
2010-05-26 19:51:09 +02:00
2010-07-16 11:39:48 -07:00
2010-07-21 13:52:36 +02:00
2010-07-19 13:17:37 -07:00
2010-07-20 08:22:15 -07:00
2010-05-30 09:02:47 -07:00
2010-06-03 11:33:58 +02:00
2010-06-29 15:29:31 -07:00
2010-07-19 09:22:50 +02:00
2010-07-12 21:16:04 -07:00
2010-06-03 15:48:15 -07:00
2010-07-21 09:28:50 -07:00
2010-06-01 12:04:35 -04:00
2010-06-02 18:10:00 +09:00
2010-07-11 11:03:22 -05:00
2010-05-28 13:57:01 -04:00
2010-06-30 15:45:59 -07:00
2010-05-27 09:12:42 -07:00
2010-07-26 12:00:58 -07:00
2010-07-20 16:26:42 -07:00
2010-07-21 09:25:42 -07:00
2010-07-26 08:05:31 -07:00
2010-05-21 09:37:31 -07:00
2010-06-17 09:56:57 +00:00
2010-06-03 09:34:45 +01:00
2010-05-21 09:37:31 -07:00
2010-05-28 14:26:20 -04:00