]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: cdc-acm: fix incorrect throtteling, make set_control optional
authorOliver Neukum <oneukum@suse.de>
Mon, 12 Feb 2007 07:41:35 +0000 (08:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:21 +0000 (15:32 -0800)
commitca79b7b4158cbf32625793a1fc1d59ac46d44197
treed35d994606f16006b8b103a5eaa636e7ee4a1fe9
parent3f141e2aed586c41c2666d49c70c1c1bbb6d6abd
USB: cdc-acm: fix incorrect throtteling, make set_control optional

this is Joris' fixes reshuffelled and features renamed as David requested.

- acm_set_control is not mandatory, honour that
- throtteling is reset upon open
- throtteling is read consistently when processing input data

Signed-off-by: Joris van Rantwijk <jorispubl@xs4all.nl>
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c
include/linux/usb/cdc.h