[PATCH 6.1 051/228] tty: fix hang on tty device with no_room set