summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sun4i_can.c
Commit message (Collapse)AuthorAgeFilesLines
* can: remove obsolete assignment for CAN protocol error typeOliver Hartkopp2015-11-231-1/+0
| | | | | | | | | | | | The assignment 'cf->data[2] |= CAN_ERR_PROT_UNSPEC' used at CAN error message creation time is obsolete as CAN_ERR_PROT_UNSPEC is zero and cf->data[2] is initialized with zero in alloc_can_err_skb() anyway. So we could either assign 'cf->data[2] = CAN_ERR_PROT_UNSPEC' correctly or we can remove the obsolete OR operation entirely. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* can: sun4i: fix MODULE_DESCRIPTIONGerhard Bertelsmann2015-10-131-1/+1
| | | | | | | This patch change description of the module. Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* can: sun4i: fix arbitration lost error reportingGerhard Bertelsmann2015-10-131-1/+1
| | | | | | | | This patch fixes a bug in arbitration error reporting Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* can: Allwinner A10/A20 CAN Controller support - Kernel moduleGerhard Bertelsmann2015-09-171-0/+857
Kernel module for Allwinner A10/A20 CAN controller. Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
OpenPOWER on IntegriCloud