Skip to content
  • Johan Hovold's avatar
    USB: serial: cp210x: fix RTS handling · cf00ead0
    Johan Hovold authored
    
    
    Clearing TIOCM_RTS should always deassert RTS and setting the same bit
    should enable auto-RTS if hardware flow control is enabled.
    
    This allows user space to throttle input directly at the source also
    when hardware-assisted flow control is enabled and makes dtr_rts()
    always deassert both lines during close (when HUPCL is set).
    
    Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
    cf00ead0