Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151367
b: refs/heads/master
c: 72fda3c
h: refs/heads/master
i:
  151365: 742794e
  151363: e6fa983
  151359: 648c969
v: v3
  • Loading branch information
Jason Wessel authored and Greg Kroah-Hartman committed Jun 16, 2009
1 parent 49ea7bc commit 0fbd93a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 98fcb5f78165b8a3d93870ad7afd4d9ebbb8b43a
refs/heads/master: 72fda3ca6fc14662bb385d1e39e9e00af15b200d
8 changes: 6 additions & 2 deletions trunk/drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2120,6 +2120,7 @@ static void ftdi_process_read(struct work_struct *work)
if (data[packet_offset+1] & FTDI_RS_BI) {
error_flag = TTY_BREAK;
dbg("BREAK received");
usb_serial_handle_break(port);
}
if (data[packet_offset+1] & FTDI_RS_PE) {
error_flag = TTY_PARITY;
Expand All @@ -2134,8 +2135,11 @@ static void ftdi_process_read(struct work_struct *work)
/* Note that the error flag is duplicated for
every character received since we don't know
which character it applied to */
tty_insert_flip_char(tty,
data[packet_offset + i], error_flag);
if (!usb_serial_handle_sysrq_char(port,
data[packet_offset + i]))
tty_insert_flip_char(tty,
data[packet_offset + i],
error_flag);
}
need_flip = 1;
}
Expand Down

0 comments on commit 0fbd93a

Please sign in to comment.