Skip to content
Commit 83fe92f3 authored by Vignesh Raghavendra's avatar Vignesh Raghavendra Committed by Tom Rini
Browse files

net: ti: am65-cpsw: Cleanup resources before jump to kernel



In case fastboot over Ethernet, am65_cpsw_stop() is not called unless
DM_FLAG_OS_PREPARE is set. Without call to am65_cpsw_stop(), DMA
resources are not released thus leading to failures in kernel.
Fix this by adding DM_FLAG_OS_PREPARE flag to am65_cpsw_nuss_port
driver.

Reported-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent 39f315e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment