spi: uniphier: introduce polling mode
authorKeiji Hayashibara <hayashibara.keiji@socionext.com>
Tue, 3 Sep 2019 05:31:01 +0000 (14:31 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 3 Sep 2019 11:39:46 +0000 (12:39 +0100)
commit37ffab81709805c674f164948e03ba0d3fe371b6
tree85d12a33dff287b768bcdf7b240050c7f996c716
parent151d0eafa4f59bbc7f8edfbefd5de2c97370d9b9
spi: uniphier: introduce polling mode

Introduce new polling mode for short size transfer. Either the estimated
transfer time is estimated to exceed 200us, or polling loop actually exceeds
200us, it switches to irq mode.

Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Link: https://lore.kernel.org/r/1567488661-11428-4-git-send-email-hayashibara.keiji@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-uniphier.c