diff options
author | Marc Kleine-Budde <[email protected]> | 2020-07-06 16:34:43 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-07-07 10:41:41 +0100 |
commit | 7716fa8068d418c39425f0fc9f3bae6c56261e86 (patch) | |
tree | 2b5a41beeba6dfa96c87ca371b7bf500aa06f8e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4e7390e997af380e20c5979a9963b521e62b4a58 (diff) |
spi: spi-sun6i: sun6i_spi_transfer_one(): enable RF_RDY interrupt only if needed
In sun6i_spi_transfer_one() the RX FIFO Ready (SUN6I_INT_CTL_RF_RDY) is
unconditionally enabled.
A RX interrupt is only needed, if more data than fits into the FIFO is going to
be received during this transfer. As the RX-FIFO is drained during transfer
complete interrupt, enable the RX FIFO Ready interrupt only if the data doesn't
fit into the FIFO.
Signed-off-by: Marc Kleine-Budde <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions