https://github.com/torvalds/linux
Revision 1c5250d6163dac28be3afabdfb6c723f107051b7 authored by Valentin Longchamp on 05 May 2010, 09:47:07 UTC, committed by Greg Kroah-Hartman on 13 May 2010, 19:10:56 UTC
The imx CTS trigger level is left at its reset value that is 32
chars. Since the RX FIFO has 32 entries, when CTS is raised, the
FIFO already is full. However, some serial port devices first empty
their TX FIFO before stopping when CTS is raised, resulting in lost
chars.

This patch sets the trigger level lower so that other chars arrive
after CTS is raised, there is still room for 16 of them.

Signed-off-by: Valentin Longchamp<valentin.longchamp@epfl.ch>
Tested-by: Philippe Rétornaz<philippe.retornaz@epfl.ch>
Acked-by: Wolfram Sang<w.sang@pengutronix.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent 77945fe
History
Tip revision: 1c5250d6163dac28be3afabdfb6c723f107051b7 authored by Valentin Longchamp on 05 May 2010, 09:47:07 UTC
serial: imx.c: fix CTS trigger level lower to avoid lost chars
Tip revision: 1c5250d
File Mode Size
.gitignore -rw-r--r-- 151 bytes
Kconfig -rw-r--r-- 4.8 KB
Makefile -rw-r--r-- 2.1 KB
gen_init_cpio.c -rw-r--r-- 12.3 KB
initramfs_data.S -rw-r--r-- 1021 bytes
initramfs_data.bz2.S -rw-r--r-- 1.0 KB
initramfs_data.gz.S -rw-r--r-- 1023 bytes
initramfs_data.lzma.S -rw-r--r-- 1.0 KB

back to top