David Brownell
934da4635c
usb: cdc-acm: stop dropping tx buffers
...
The "increase cdc-acm write throughput" patch left in place two
now-obsolete mechanisms, either of which can make the cdc-acm
driver drop TX data (nasty!). This patch removes them:
- The write_ready flag ... if an URB and buffer were found,
they can (and should!) always be used.
- TX path acm_wb_is_used() ... used when the buffer was just
allocated, so that check is pointless.
Also fix a won't-yet-matter leak of a write buffer on a disconnect path.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net >
Cc: David Engraf <david.engraf@netcom.eu >
Acked-by: Oliver Neukum <oneukum@suse.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2008-08-13 17:32:57 -07:00
..
2008-05-08 10:46:55 -07:00
2008-08-01 12:46:41 -07:00
2008-08-05 14:36:57 +02:00
2008-07-30 16:33:05 -07:00
2008-07-24 10:47:41 -07:00
2008-08-01 11:52:39 -07:00
2008-08-06 12:30:04 +02:00
2008-08-07 22:26:56 +02:00
2008-08-05 18:17:02 +02:00
2008-08-13 22:02:26 +10:00
2008-07-15 11:01:39 -07:00
2008-06-27 20:03:24 -07:00
2008-08-08 16:00:48 -04:00
2008-08-12 16:07:28 -07:00
2008-08-13 22:02:26 +10:00
2008-07-23 12:03:18 -07:00
2008-07-20 17:24:40 -07:00
2008-08-08 11:38:42 -07:00
2008-07-25 10:53:49 -07:00
2008-07-21 21:54:53 -07:00
2008-08-06 12:03:43 -07:00
2008-08-12 16:07:31 -07:00
2008-07-25 10:53:30 -07:00
2008-08-01 12:46:41 -07:00
2008-07-23 15:26:10 +02:00
2008-08-10 22:56:16 +02:00
2008-08-13 17:32:56 -07:00
2008-08-07 09:55:48 +01:00
2008-07-24 10:47:21 -07:00
2008-08-12 13:52:54 -07:00
2008-08-08 11:38:42 -07:00
2008-08-02 16:40:37 +02:00
2008-08-07 09:55:48 +01:00
2008-08-12 17:52:53 +10:00
2008-08-05 18:16:58 +02:00
2008-07-21 21:54:53 -07:00
2008-08-01 11:56:07 -07:00
2008-08-08 19:18:18 +01:00
2008-07-26 12:00:04 -07:00
2008-07-27 10:04:52 -07:00
2008-08-10 23:32:07 +02:00
2008-08-12 16:07:29 -07:00
2008-08-10 23:30:34 +02:00
2008-08-10 23:30:34 +02:00
2008-08-09 11:15:13 -07:00
2008-04-29 08:06:19 -07:00
2008-07-25 22:34:40 -04:00
2008-05-14 19:11:12 -07:00
2008-07-02 15:06:24 -06:00
2008-07-26 12:00:11 -07:00
2008-08-07 17:47:37 -07:00
2008-08-07 09:55:48 +01:00
2008-08-01 12:46:41 -07:00
2008-08-07 09:55:48 +01:00
2008-05-02 15:00:44 +10:00
2008-07-10 18:04:43 -07:00
2008-07-30 10:10:23 +01:00
2008-08-12 16:07:28 -07:00
2008-08-01 16:39:36 +02:00
2008-07-21 21:55:03 -07:00
2008-08-11 12:20:31 -07:00
2008-08-07 09:55:48 +01:00
2008-08-04 12:51:06 +09:00
2008-03-17 08:11:48 -04:00
2008-08-07 09:55:48 +01:00
2008-07-08 16:30:17 -07:00
2008-07-25 10:53:43 -07:00
2008-06-25 19:25:42 -04:00
2008-07-21 21:54:55 -07:00
2008-08-13 17:32:57 -07:00
2008-08-12 16:07:29 -07:00
2008-07-25 12:06:14 +10:00
2008-07-16 19:30:07 +02:00
2008-08-12 16:07:31 -07:00
2008-07-21 21:55:02 -07:00
2008-07-24 10:47:13 -07:00
2008-04-30 08:29:52 -07:00
2008-07-30 10:10:22 +01:00