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-05-02 09:19:38 -0700 |
commit | 1eb710f4e01a9afab735828c87ef13e2e6b57386 (patch) | |
tree | f9b0e5fbf7b0ec7835384cb5972ce894623da087 /sound/soc | |
parent | 7b394b6f584438e9048825dd4571299945ce9b54 (diff) |
serial/imx: read cts state only after acking cts change irq
commit 5680e94148a86e8c31fdc5cb0ea0d5c6810c05b0 upstream.
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>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions