]> git.baikalelectronics.ru Git - kernel.git/commit
spi: uniphier: Add handle_err callback function
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 24 Dec 2019 00:58:25 +0000 (09:58 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 25 Dec 2019 00:08:18 +0000 (00:08 +0000)
commitfb53e58df6458e4bed380a16a50d1376602f6140
treeba3c404a20b36495bc1aa7562a8ae83d72013a60
parent34802621bb9427b7f74a7a7e02177e6349a70971
spi: uniphier: Add handle_err callback function

This adds master->handle_err() callback function to stop transfer due to
error. The function also resets FIFOs and disables interrupt.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1577149107-30670-4-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-uniphier.c