can: mcp251xfd: tef-path: reduce number of SPI core requests to set UINC bit
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 26 Nov 2020 13:21:44 +0000 (14:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 29 Nov 2020 20:19:12 +0000 (21:19 +0100)
commit68c0c1c7f9668e7a7f2e18dbf951cfee57af1c0e
tree5a64a1cf8c7c1645d91f5d2f28f415669a3b0075
parent63e70488b49acc0c3bcca354539806742ea8b888
can: mcp251xfd: tef-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 TEF FIFO, and instead batch them up into a single SPI core request.

Link: https://lore.kernel.org/r/20201126132144.351154-6-mkl@pengutronix.de
Tested-by: Thomas Kopp <thomas.kopp@microchip.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
drivers/net/can/spi/mcp251xfd/mcp251xfd.h