commit | a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Mon Nov 30 13:16:57 2009 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 15:18:06 2009 -0800 |
tree | 91b83c156abea75c5384556b8b7bc24edb1bc169 | |
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>