8250: ratelimit LSR safety check engaged warning.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 26 Sep 2011 13:14:34 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 23:38:44 +0000 (16:38 -0700)
commit7808a4c4853fa0203085cf2217e01823d9f0c70c
tree066da7c548ab63e69e8775075cd7f4beae893e78
parentcf16807b61d15e42b20407c954a01a3774520ea7
8250: ratelimit LSR safety check engaged warning.

On my BIOSTAR TA890FXE the ttyS0 ends up spewing:

[904682.485933] ttyS0: LSR safety check engaged!
[904692.505895] ttyS0: LSR safety check engaged!
[904702.525972] ttyS0: LSR safety check engaged!
[904712.545967] ttyS0: LSR safety check engaged!
[904722.566125] ttyS0: LSR safety check engaged!
..
lets limit it so it won't be the only thing visible
in the ring buffer.

CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250.c