linux_dsm_epyc7002/drivers/net/can
Stefan Agner ec56acfef2 can: flexcan: flexcan_get_berr_counter(): switch on clocks before accessing ecr register
The funcion flexcan_get_berr_counter() may be called from userspace even if the
interface is down, this the clocks are disabled. This patch switches on the
clocks before accessing the ecr register.

Reported-by: Ashutosh Singh <ashuleapyear@gmail.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-08-18 01:03:39 +02:00
..
c_can net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
cc770 net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
mscan net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
sja1000 net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
softing net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
spi net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
usb net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
at91_can.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
bfin_can.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
dev.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
flexcan.c can: flexcan: flexcan_get_berr_counter(): switch on clocks before accessing ecr register 2014-08-18 01:03:39 +02:00
grcan.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
janz-ican3.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
Kconfig can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00
led.c can: only rename enabled led triggers when changing the netdev name 2014-05-27 15:05:41 +02:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
pch_can.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
rcar_can.c can: add Renesas R-Car CAN driver 2014-05-19 09:38:23 +02:00
slcan.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
ti_hecc.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
vcan.c can: add destructor for self generated skbs 2014-01-30 16:25:49 -08:00
xilinx_can.c can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00