summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-07-15 12:56:20 (GMT)
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-08-17 23:03:39 (GMT)
commitec56acfef2af184ca485ffeba16adbd56c110c94 (patch)
tree3c7509c81a1ae6854a437a7d98f0df313e1e0565 /.gitignore
parent4ade6feb52262eae0c40d6714e3446bfa4d19a5f (diff)
downloadlinux-ec56acfef2af184ca485ffeba16adbd56c110c94.tar.xz
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions