• Peter Hurley's avatar
    serial: blackfin: Fix CTS flow control · 8bd67d7d
    Peter Hurley authored
    blackfin uart port drivers mistakenly set the struct uart_port
    flags bit UPF_BUG_THRE (which only has meaning to the 8250 core)
    while trying to set ASYNC_CTS_FLOW.
    
    Uart port drivers can override termios settings based on actual
    hardware support in their .set_termios method; the serial core
    sets the appropriate port flags based on the overrides.
    Overriding only the initial termios settings is accomplished
    by only perform those overrides if the old termios parameter is
    NULL.
    
    CC: Sonic Zhang <sonic.zhang@analog.com>
    CC: adi-buildroot-devel@lists.sourceforge.net
    Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    8bd67d7d
bfin_sport_uart.c 22.7 KB