lkml.org 
[lkml]   [2013]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 072/171 ] USB: io_ti: fix get_icount for two port adapters
    3.6.11.2 stable review patch.
    If anyone has any objections, please let me know.

    ------------------

    From: Johan Hovold <jhovold@gmail.com>

    [ Upstream commit 5492bf3d5655b4954164f69c02955a7fca267611 ]

    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 0bca1b913aff ("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>
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    ---
    drivers/usb/serial/io_ti.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
    index ccf297d..a943c06 100644
    --- a/drivers/usb/serial/io_ti.c
    +++ b/drivers/usb/serial/io_ti.c
    @@ -2766,6 +2766,7 @@ static struct usb_serial_driver edgeport_2port_device = {
    .set_termios = edge_set_termios,
    .tiocmget = edge_tiocmget,
    .tiocmset = edge_tiocmset,
    + .get_icount = edge_get_icount,
    .write = edge_write,
    .write_room = edge_write_room,
    .chars_in_buffer = edge_chars_in_buffer,
    --
    1.7.10.4



    \
     
     \ /
      Last update: 2013-04-12 03:01    [W:4.041 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site