commit | 5a866ec0014b2baa4ecbb1eaa19c835482829d08 | [log] [tgz] |
---|---|---|
author | Maxime Chevallier <maxime.chevallier@smile.fr> | Tue Oct 10 10:43:17 2017 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Oct 10 10:14:32 2017 +0100 |
tree | f9c290d36587220a2c4c263014e74a3d2b110c8f | |
parent | 6fd6fd68c9e2f3a206a098ef57b1d5548f9d00d1 [diff] |
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