spi: uniphier: fix zero-length transfer
authorKeiji Hayashibara <hayashibara.keiji@socionext.com>
Wed, 26 Jun 2019 00:41:48 +0000 (09:41 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jun 2019 11:30:58 +0000 (12:30 +0100)
commit2b947137f2b8f77474dfe77d68c52778bf6ae453
tree3daf0a519b81c71aa9a59968cbc537067e787460
parente4671df0bfd67d4864de014fa1751d5e2a56c7a6
spi: uniphier: fix zero-length transfer

The zero-length transfer results in timeout error because
the transfer doesn't start.
This commit modified to return success in this case.

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