Commit d50092f6 authored by Vivek Yadav's avatar Vivek Yadav Committed by Greg Kroah-Hartman
Browse files

can: m_can: Call the RAM init directly from m_can_chip_config



[ Upstream commit eaacfeac ]

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>
Stable-dep-of: 67727a17 ("can: tcan4x5x: Fix use of register error status mask")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 55064642
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment