Skip to content
Commit 877a9021 authored by Timo Schlüßler's avatar Timo Schlüßler Committed by Marc Kleine-Budde
Browse files

can: mcp251x: add mcp251x_write_2regs() and make use of it



This patch introduces the function mcp251x_write_2regs() to write two
registers with one SPI transfer and converts the disabling of pending
interrupts in mcp251x_stop() to it.

Signed-off-by: default avatarTimo Schlüßler <schluessler@krause.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 50ec8812
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment