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)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 Jul 2018 12:34:45 +0000 (14:34 +0200)
commit54e4a0c486041dc1c20593d997fafd67089e8408
treeb3bd6d66397d9648f240f9f3a3df0bb471f4fad4
parent1675bee3e732c2449e792feed9caff804f3bd42c
can: m_can: Move accessing of message ram to after clocks are enabled

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>
drivers/net/can/m_can/m_can.c