diff options
author | Ivo Sieben <meltedpianoman@gmail.com> | 2012-10-24 16:35:42 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-24 22:21:32 +0400 |
commit | b8b345bae8cb6745f2afdd28bb2d93f9cf0d7f2c (patch) | |
tree | b5d1e58545b23b90c70f4c1f9a35e00eb09b0816 /drivers/tty/serial | |
parent | 6b898c07cb1d5bd8344a8044288bb4ae3873da74 (diff) | |
download | linux-b8b345bae8cb6745f2afdd28bb2d93f9cf0d7f2c.tar.xz |
TTY: Report warning when low_latency flag is wrongly used
When a driver has the low_latency flag set and uses the schedule_flip()
function to initiate copying data to the line discipline, a workqueue is
scheduled in but never actually flushed. This is incorrect use of the
low_latency flag (driver should not support the low_latency flag, or use
the tty_flip_buffer_push() function instead). Make sure a warning is
reported to catch incorrect use of the low_latency flag.
This patch goes with: cee4ad1ed90a0959fc29f9d30a2526e5e9522cfa
Signed-off-by: Ivo Sieben <meltedpianoman@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions