diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-04-11 10:59:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-19 16:36:25 -0700 |
commit | 5680e94148a86e8c31fdc5cb0ea0d5c6810c05b0 (patch) | |
tree | 6830132e5babaf0b39d7b460bff64558fd902467 /fs/configfs | |
parent | 0f6db2172ffa478409b5facd06bcd38a03b504f7 (diff) |
serial/imx: read cts state only after acking cts change irq
If cts changes between reading the level at the cts input (USR1_RTSS)
and acking the irq (USR1_RTSD) the last edge doesn't generate an irq and
uart_handle_cts_change is called with a outdated value for cts.
The race was introduced by commit
ceca629 ([ARM] 2971/1: i.MX uart handle rts irq)
Reported-by: Arwed Springer <Arwed.Springer@de.trumpf.com>
Tested-by: Arwed Springer <Arwed.Springer@de.trumpf.com>
Cc: stable@kernel.org # 2.6.14+
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions