diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-30 08:16:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 18:18:06 -0500 |
commit | a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 (patch) | |
tree | 91b83c156abea75c5384556b8b7bc24edb1bc169 /drivers/char/cp437.uni | |
parent | d74e8286885ac9f3ccc5e2dc2301f21bbec90f7b (diff) |
tty: tty_port: Move the IO_ERROR clear
Some devices want to set IO_ERROR in their activate methods so that you can
be handed a 'dead' port for operations like setserial. Thus we need to
clear the flag before activate so that activate can choose to set the flag
and still return 0.
This is fine as the file handle/tty are not accessible to the user yet.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/cp437.uni')
0 files changed, 0 insertions, 0 deletions