Skip to content

Commit 5492bf3

Browse files
jhovoldgregkh
authored andcommitted
USB: io_ti: fix get_icount for two port adapters
Add missing get_icount field to two-port driver. The two-port driver was not updated when switching to the new icount interface in commit 0bca1b9 ("tty: Convert the USB drivers to the new icount interface"). Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 618aa10 commit 5492bf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/serial/io_ti.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,6 +2649,7 @@ static struct usb_serial_driver edgeport_2port_device = {
26492649
.set_termios = edge_set_termios,
26502650
.tiocmget = edge_tiocmget,
26512651
.tiocmset = edge_tiocmset,
2652+
.get_icount = edge_get_icount,
26522653
.write = edge_write,
26532654
.write_room = edge_write_room,
26542655
.chars_in_buffer = edge_chars_in_buffer,

0 commit comments

Comments
 (0)