Skip to content
Commit eaacfeac authored by Vivek Yadav's avatar Vivek Yadav Committed by Marc Kleine-Budde
Browse files

can: m_can: Call the RAM init directly from m_can_chip_config



When we try to access the mcan message ram addresses during the probe,
hclk is gated by any other drivers or disabled, because of that probe
gets failed.

Move the mram init functionality to mcan chip config called by
m_can_start from mcan open function, by that time clocks are
enabled.

Suggested-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarVivek Yadav <vivek.2311@samsung.com>
Link: https://lore.kernel.org/all/20221207100632.96200-2-vivek.2311@samsung.com


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent bd4a52bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment