can: mcp251x: Allow tuning SPI mode and limit maximal SPI speed
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 19 Aug 2013 11:39:21 +0000 (15:39 +0400)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 21 Aug 2013 07:28:29 +0000 (09:28 +0200)
commitb1ef05a5a20afe50d4188a5b59579bd140758cf0
treec59d260cdfb3597ba869fac9fd4598eb09fae283
parentae5d589e5f9f3217656ada632869968178886ac6
can: mcp251x: Allow tuning SPI mode and limit maximal SPI speed

Patch allow to use different mode settings for SPI (MODE3 for example)
and limit maximal speed according to IC datasheet.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/mcp251x.c