diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-03-21 13:22:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-01 14:19:15 +0100 |
commit | ff23fa3bb05b296eeab2ccde92c0cdbc05942a1c (patch) | |
tree | d1ed38448d84cf9f50493f0b64fca29fc7be22e8 /ipc/shm.c | |
parent | e761f4236e94f2dd36316f9892583b29ce986031 (diff) |
spi/omap-mcspi: check condition also after timeout
It is possible that the handler gets interrupted after checking the
status. After it resumes the time out is due but the condition it was
waiting for might be true as well. Therefore it is necessary to check
the condition in case of an time out to be sure that the condition is
not true after the time passed by.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions