can: mcp251x: allow to read two registers in one spi transfer
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 28 Sep 2010 07:53:35 +0000 (09:53 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 18 Oct 2010 09:19:42 +0000 (11:19 +0200)
commitf3a3ed3115d39463dc6672454bfbeaff46811a37
treee4b58494a3f9411c687998435d67699a1c690fac
parent711e4d6eccd72c57938228b8e0c29cb205527032
can: mcp251x: allow to read two registers in one spi transfer

This patch bases on work done earlier by David Jander.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: David Jander <david@protonic.nl>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
drivers/net/can/mcp251x.c