commit | ee967fffd91031f18dbe36bf6a273d8a75f663cf | [log] [tgz] |
---|---|---|
author | Alexander Shiyan <shc_work@mail.ru> | Fri Mar 28 14:14:46 2014 +0400 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Apr 24 22:54:15 2014 +0200 |
tree | 4b503a52143461c679e0df9c40122b04a976b903 | |
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>