net: ti: am65-cpsw-nuss: Fix kernel crash for non zero ASEL
commit 368365b6dfdc5423d91cbba0fa473110f17629b1 from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git In case of chained buffer each of the descriptor address should be cleared of ASEL value before looking up virtual address. But this is currently being done only for first descriptor, thus resulting in kernel crash when ASEL is set to non zero value. Fix this by dropping ASEL from DMA address for all descriptors. Signed-off-by:Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by:
Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by:
Xulin Sun <xulin.sun@windriver.com>
Loading
Please register or sign in to comment