diff options
author | Jiri Slaby <[email protected]> | 2011-08-17 13:48:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-08-23 10:10:38 -0700 |
commit | 0055197e984e5fbe6f48f37fc50dd30254915493 (patch) | |
tree | df7de31cd63bc231a37fd6833ba53e40140ceff5 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 24d406a6bf736f7aebdc8fa0f0ec86e0890c6d24 (diff) |
TTY: serial, document ignoring of uart->ops->startup error
When a user has SYS_ADMIN capabilities and uart->ops->startup returns
an error in uart_startup, we silently drop the error. We then return 0
and behave as if it didn't fail. (Not quite, since we set TTY_IO_ERROR
bit and leave ASYNC_INITIALIZED bit cleared.)
This all is to allow setserial to work with improperly configured or
unconfigured ports. User can thus set port properties and reconfigure
properly.
This patch only documents this behavior.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Russel King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions