]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea2525efd42408faa78900f6fbbd9140ecc22ee2
tree85d12a33dff287b768bcdf7b240050c7f996c716
parent61535db91cfeeb559b0155ee927cfb0df6a00e8f
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