spi: uniphier: fix timeout error
authorKeiji Hayashibara <hayashibara.keiji@socionext.com>
Wed, 26 Jun 2019 00:41:47 +0000 (09:41 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jun 2019 11:30:37 +0000 (12:30 +0100)
commite4671df0bfd67d4864de014fa1751d5e2a56c7a6
treedff190447f929e0aacd0c12ad1e428162ebae015
parent94613d5ae1091a28b33f38e18d96e8d953ac18df
spi: uniphier: fix timeout error

Timeout error was silently ignored.
This commit adds timeout error handling and modifies return type of
wait_for_completion_timeout().

Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-uniphier.c