diff options
author | Mike Isely <isely@pobox.com> | 2008-02-10 20:23:32 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-24 21:16:38 -0700 |
commit | 92983c2121fb46f234add1c36b5e596779899d56 (patch) | |
tree | 75c51452bd60fcc38edda00cd54e25976e7b3f5f /drivers/scsi/gvp11.c | |
parent | 6768306c3d9568bc66dc22f8b863bfbda3e7c4d2 (diff) |
USB: cypress_m8: Limit baud rate to <=4800 for USB low speed devices
The cypress app note for the M8 states that for the USB low speed
version of the part, throughput is effectively limited to 800
bytes/sec. So if we were to try a faster baud rate in such cases then
we risk overrun errors on receive. Best to just identify this case
and limit the rate to 4800 baud or less (by ignoring any request to
set a faster rate). The old baud rate setting code was somewhat
fragile; this change also hopefully makes it easier in the future to
better checking / limiting.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/gvp11.c')
0 files changed, 0 insertions, 0 deletions