diff options
author | Maxime Chevallier <maxime.chevallier@smile.fr> | 2017-10-10 10:43:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-10 11:14:32 +0200 |
commit | 5a866ec0014b2baa4ecbb1eaa19c835482829d08 (patch) | |
tree | f9c290d36587220a2c4c263014e74a3d2b110c8f /include/drm/drm_crtc.h | |
parent | spi: armada-3700: Fix padding when sending not 4-byte aligned data (diff) | |
download | linux-5a866ec0014b2baa4ecbb1eaa19c835482829d08.tar.xz linux-5a866ec0014b2baa4ecbb1eaa19c835482829d08.zip |
spi: a3700: Return correct value on timeout detection
When waiting for transfer completion, a3700_spi_wait_completion
returns a boolean indicating if a timeout occurred.
The function was returning 'true' everytime, failing to detect any
timeout.
This patch makes it return 'false' when a timeout is reached.
Signed-off-by: Maxime Chevallier <maxime.chevallier@smile.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/drm/drm_crtc.h')
0 files changed, 0 insertions, 0 deletions