patch "serial_core: Check for port state when tty is in error state" added to tty-next