diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-28 14:14:46 +0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-04-24 22:54:15 +0200 |
commit | ee967fffd91031f18dbe36bf6a273d8a75f663cf (patch) | |
tree | 4b503a52143461c679e0df9c40122b04a976b903 /drivers/net/can/spi/mcp251x.c | |
parent | ff06d611a31c4b687c7859e3c7516a38194d4d25 (diff) |
can: mcp251x: Improve mcp251x_hw_probe()
This patch adds check for mcp251x_hw_reset() result on startup and
removes unnecessary checking for CANSTAT register since this value
is being checked in mcp251x_hw_reset().
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Tested-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/spi/mcp251x.c')
0 files changed, 0 insertions, 0 deletions