]> 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)
commit71da575ec3595c725684c71d49fc1847a58cbcd6
tree5056ade913745c82d3cc7fcfb6cae777870fd5dd
parent2571944fb99f4b215e53288085058e7f9843f75c
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