]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "spi: spi-sun6i: One fix and some improvements" from Marc Kleine-Budde...
authorMark Brown <broonie@kernel.org>
Tue, 7 Jul 2020 13:26:33 +0000 (14:26 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2020 13:26:33 +0000 (14:26 +0100)
commit9b94ea039f792fbb18e41f0e69f20a5fd901aeb2
tree05ebf0508ecc3e84cdef26c9a118f683d6b77b69
parentfe0be5047d88c2f9bf61137a9ff0e3c462567e87
parentad9d976e6e26eb4b4148ab54c4b490c2a86ac5b2
Merge series "spi: spi-sun6i: One fix and some improvements" from Marc Kleine-Budde <mkl@pengutronix.de>:

Hello,

this series first fixes the calculation of the clock rate. The driver will
round up to the nearest clock rate instead of rounding down. Resulting in SPI
devices accessed with a too high SPI clock.

The remaining patches improve the performance of the driver. The changes range
from micro-optimizations like reducing MMIO writes to the controller to
reducing the number of needed interrupts in some use cases.

regards,
Marc

changes since v1:
- added Maxime Ripard's to the existing patches
- 06/10: (was 05/10 in v1)
  "spi: spi-sun6i: sun6i_spi_drain_fifo(): introduce sun6i_spi_get_rx_fifo_count() and make use of it"
  use FIELD_GET instead of open coding it
  (tnx: Maxime Ripard)
- 05/10: "spi: spi-sun6i: sun6i_spi_get_tx_fifo_count: Convert manual shift+mask to FIELD_GET()"
  new patch

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
drivers/spi/spi-pxa2xx.c