Files
linux/drivers
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
..
…
…
…
…
…
2014-08-05 21:16:46 -07:00
…
…
2014-08-08 15:57:28 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…