summaryrefslogtreecommitdiff
path: root/drivers/connector
diff options
context:
space:
mode:
authorJoris van Rantwijk <jorispubl@xs4all.nl>2007-02-01 20:08:18 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-16 15:32:18 -0800
commit253ca923281aec6975ec4028ddbc58e865d8d13d (patch)
tree837b437f40ecb75174917e0623b6f4e2cdcc6f46 /drivers/connector
parentb544d7499cc47fc26e9dbacd7b9cabc67d2bdf2e (diff)
USB: add flow control to usb-serial generic driver.
I added two fields to struct usb_serial_port to keep track of the throttle state. Other usb-serial drivers typically use private data for such things, but the generic driver can not really do that because some of its code is also used by other drivers (which may have their own private data needs). As it is, I am not sure that this patch is useful in all scenarios. It is certainly helpful for low-bandwidth devices that can hold their data in response to throttling. But for devices that pump data in real-time as fast as possible (webcam, A/D converter, etc), throttling may actually cause more data loss. From: Joris van Rantwijk <jorispubl@xs4all.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions