can: sja1000: Fix error location forwarding
authorAlexander Gerasiov <gq@cs.msu.su>
Fri, 1 Apr 2016 16:16:45 +0000 (19:16 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 May 2016 09:07:28 +0000 (11:07 +0200)
commit3e51a3356cb2a1a35c07607f93d79484b1496bbf
treed7ed60cd25b05ca0b35be3a8531dc8d7b1f78565
parent908578e7d5f69087241434c872f8f4a8ab70045f
can: sja1000: Fix error location forwarding

According to SJA1000 documentation the location of error is available
regardless of an error type. Therefore it should always be forwarded to
SocketCAN.

Signed-off-by: Nikita Edward Baruzdin <nebaruzdin@lvk.cs.msu.su>
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000.c