]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
can: m_can: Move accessing of message ram to after clocks are enabled
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 3 Jul 2018 11:17:10 +0000 (16:47 +0530)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:44:37 +0000 (19:44 -0600)
commitc3e12c6dfbc9291a4f17cdc55e327898895a40cc
tree3019c3f84529fa8f06e8a033541ae39ff1fdffb0
parent2597a81d75fc08aa5c561a0fe24e0177a5c20eed
can: m_can: Move accessing of message ram to after clocks are enabled

BugLink: https://bugs.launchpad.net/bugs/1835972
[ Upstream commit 54e4a0c486041dc1c20593d997fafd67089e8408 ]

MCAN message ram should only be accessed once clocks are enabled.
Therefore, move the call to parse/init the message ram to after
clocks are enabled.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/can/m_can/m_can.c