Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185259
b: refs/heads/master
c: c312659
h: refs/heads/master
i:
  185257: 9f94117
  185255: b3f689d
v: v3
  • Loading branch information
Mike Frysinger authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent f5becdc commit 483ccd0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2805eb13c3b5be7bd6ec7380502bc054b570afd5
refs/heads/master: c312659c5ff1e54bac2d91e1ce1005d58784a7b5
6 changes: 6 additions & 0 deletions trunk/drivers/usb/serial/cypress_m8.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
static int debug;
static int stats;
static int interval;
static int unstable_bauds;

/*
* Version Information
Expand Down Expand Up @@ -291,6 +292,9 @@ static int analyze_baud_rate(struct usb_serial_port *port, speed_t new_rate)
struct cypress_private *priv;
priv = usb_get_serial_port_data(port);

if (unstable_bauds)
return new_rate;

/*
* The general purpose firmware for the Cypress M8 allows for
* a maximum speed of 57600bps (I have no idea whether DeLorme
Expand Down Expand Up @@ -1643,3 +1647,5 @@ module_param(stats, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(stats, "Enable statistics or not");
module_param(interval, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(interval, "Overrides interrupt interval");
module_param(unstable_bauds, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(unstable_bauds, "Allow unstable baud rates");

0 comments on commit 483ccd0

Please sign in to comment.