From: Ivo Sieben Date: Wed, 24 Oct 2012 12:35:42 +0000 (+0200) Subject: TTY: Report warning when low_latency flag is wrongly used X-Git-Tag: omap-for-v3.8/cleanup-headers-serial-take2-signed~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8b345bae8cb6745f2afdd28bb2d93f9cf0d7f2c;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed