Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 876
b: refs/heads/master
c: 5e54f91
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg KH committed May 4, 2005
1 parent 1a8bbb5 commit f2243ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f92872cc8085b9e65a8ec07aed106ce5d24f60b
refs/heads/master: 5e54f91d8d770c5a48da10a5c9c314c1c926536b
4 changes: 2 additions & 2 deletions trunk/drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,10 +1483,10 @@ static int ftdi_FT2232C_startup (struct usb_serial *serial)
inter = serial->interface->altsetting->desc.bInterfaceNumber;

if (inter) {
priv->interface = INTERFACE_B;
priv->interface = PIT_SIOB;
}
else {
priv->interface = INTERFACE_A;
priv->interface = PIT_SIOA;
}
priv->baud_base = 48000000 / 2; /* Would be / 16, but FT2232C supports multiple of 0.125 divisor fractions! */

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/usb/serial/ftdi_sio.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,6 @@
#define FTDI_SIO_SET_LATENCY_TIMER 9 /* Set the latency timer */
#define FTDI_SIO_GET_LATENCY_TIMER 10 /* Get the latency timer */

/* Port interface code for FT2232C */
#define INTERFACE_A 1
#define INTERFACE_B 2


/*
* BmRequestType: 1100 0000b
Expand Down

0 comments on commit f2243ea

Please sign in to comment.