]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp25xxfd: rx-path: reduce number of SPI core requests to set UINC bit
authorUrsula Maplehurst <ursula@kangatronix.co.uk>
Thu, 26 Nov 2020 13:21:41 +0000 (14:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 29 Nov 2020 20:19:12 +0000 (21:19 +0100)
commitaf150a87df7c97b1f34c030416f03a714f277949
tree5056ade913745c82d3cc7fcfb6cae777870fd5dd
parentc2860b2251ddcbee97a63fa549909291cc9873db
can: mcp25xxfd: rx-path: reduce number of SPI core requests to set UINC bit

Reduce the number of separate SPI core requests when setting the UINC bit in
the RX FIFO, and instead batch them up into a single SPI core request.

Link: https://github.com/marckleinebudde/linux/issues/4
Link: https://lore.kernel.org/r/20201126132144.351154-3-mkl@pengutronix.de
Tested-by: Thomas Kopp <thomas.kopp@microchip.com>
Signed-off-by: Ursula Maplehurst <ursula@kangatronix.co.uk>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
drivers/net/can/spi/mcp251xfd/mcp251xfd.h