diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-07-06 17:34:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-07 12:41:37 +0300 |
commit | 5197da036398863c90db90b2ea53760fdaec5d86 (patch) | |
tree | d84bff2489d2f815c4f71fd0cbee0588dcb8d131 /drivers/extcon/extcon-fsa9480.c | |
parent | 9a3ef9df22ec1fe8d49b219c181c039f25c3296d (diff) | |
download | linux-5197da036398863c90db90b2ea53760fdaec5d86.tar.xz |
spi: spi-sun6i: sun6i_spi_drain_fifo(): introduce sun6i_spi_get_rx_fifo_count() and make use of it
This patch introduces the function sun6i_spi_get_rx_fifo_count(), similar to
the existing sun6i_spi_get_tx_fifo_count(), to make the sun6i_spi_drain_fifo()
function a bit easier to read.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20200706143443.9855-7-mkl@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/extcon/extcon-fsa9480.c')
0 files changed, 0 insertions, 0 deletions