• Alan Cox's avatar
    tty_port: Move hupcl handling · e707c35c
    Alan Cox authored
    Move the HUCPL handling from the end of close_port_start to the beginning
    of close_port_end. What this actually does is change the ordering from
    
    	port shutdown
    	port->dtr_rts
    
    to
    
    	port->dtr_rts
    	port shutdown
    
    Some hardware drops the physical connection on shutdown so we must perform
    the port operations before the shutdown.
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    e707c35c
tty_port.c 10.6 KB