Skip to content
Commit 1c5250d6 authored by Valentin Longchamp's avatar Valentin Longchamp Committed by Greg Kroah-Hartman
Browse files

serial: imx.c: fix CTS trigger level lower to avoid lost chars



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: default avatarValentin <Longchamp&lt;valentin.longchamp@epfl.ch>
Tested-by: default avatarPhilippe <Rétornaz&lt;philippe.retornaz@epfl.ch>
Acked-by: default avatarWolfram <Sang&lt;w.sang@pengutronix.de>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 77945feb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment