]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp251x: add message about sucessful/unsuccessful probe
authorEd Spiridonov <edo.rus@gmail.com>
Mon, 20 Jun 2016 18:40:15 +0000 (21:40 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 23 Jun 2016 09:23:49 +0000 (11:23 +0200)
commit66a39cf379143b979673e13ca90ee4e212a33bd7
tree8e45b802e2283d14d89fdf4dbf3a81f224a54494
parent4b61f1467ae48a7577f25cf8739a7700c52ff5b4
can: mcp251x: add message about sucessful/unsuccessful probe

Silent ignorance of errors during probe procedure is a bad thing, this
patch fixes it. Extra message added for hardware initialization
failure. Such common issues are mostly caused by wrong wiring.  Message
about success added as well, it should be useful to debug new hardware
configuration, especially in case of several CAN buses.

Signed-off-by: Ed Spiridonov <edo.rus@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c