android_kernel_xiaomi_sm8350/drivers/net/can
Jan Altenberg 4f2d56c45f can: c_can: Do basic c_can configuration _before_ enabling the interrupts
I ran into some trouble while testing the SocketCAN driver for the BOSCH
C_CAN controller. The interface is not correctly initialized, if I put
some CAN traffic on the line, _while_ the interface is being started
(which means: the interface doesn't come up correcty, if there's some RX
traffic while doing 'ifconfig can0 up').

The current implementation enables the controller interrupts _before_
doing the basic c_can configuration. I think, this should be done the
other way round.

The patch below fixes things for me.

Signed-off-by: Jan Altenberg <jan@linutronix.de>
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-21 18:19:26 -07:00
..
c_can can: c_can: Do basic c_can configuration _before_ enabling the interrupts 2011-03-21 18:19:26 -07:00
mscan dt/net: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
sja1000 dt/net: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
softing CAN: add controller hardware name for Softing cards 2011-02-28 12:08:48 -08:00
usb can: wrong index used in inner loop 2011-03-14 14:44:42 -07:00
at91_can.c net: can: at91_can: world-writable sysfs files 2011-02-04 13:06:27 -08:00
bfin_can.c
dev.c
flexcan.c
janz-ican3.c net: can: janz-ican3: world-writable sysfs termination file 2011-02-04 13:06:27 -08:00
Kconfig can: c_can: Added support for Bosch C_CAN controller 2011-02-13 22:51:44 -08:00
Makefile can: c_can: Added support for Bosch C_CAN controller 2011-02-13 22:51:44 -08:00
mcp251x.c workqueue, freezer: unify spelling of 'freeze' + 'able' to 'freezable' 2011-02-16 17:48:59 +01:00
pch_can.c pch_can: fix tseg1/tseg2 setting issue 2011-02-09 16:46:21 -08:00
slcan.c
ti_hecc.c
vcan.c