Skip to content

Commit 0704c57

Browse files
Pankaj Sharmamarckleinebudde
Pankaj Sharma
authored andcommitted
can: m_can_platform: remove unnecessary m_can_class_resume() call
The function m_can_runtime_resume() is getting recursively called from m_can_class_resume(). This results in a lock up. We need not call m_can_class_resume() during m_can_runtime_resume(). Fixes: f524f82 ("can: m_can: Create a m_can platform framework") Signed-off-by: Pankaj Sharma <[email protected]> Signed-off-by: Sriram Dash <[email protected]> Acked-by: Dan Murphy <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 2ea8724 commit 0704c57

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/can/m_can/m_can_platform.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ static int __maybe_unused m_can_runtime_resume(struct device *dev)
166166
if (err)
167167
clk_disable_unprepare(mcan_class->hclk);
168168

169-
m_can_class_resume(dev);
170-
171169
return err;
172170
}
173171

0 commit comments

Comments
 (0)