aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Siddharth Vadapalli <s-vadapalli@ti.com> 2024-04-17 15:24:25 +0530
committerGravatar Jakub Kicinski <kuba@kernel.org> 2024-04-18 09:57:03 -0700
commitc24cd679b075b0e953ea167b0aa2b2d59e4eba7f (patch)
tree20673457e0452643705797151e1d8b090492fff9 /tools
parentnet: usb: ax88179_178a: avoid writing the mac address before first reading (diff)
downloadlinux-c24cd679b075b0e953ea167b0aa2b2d59e4eba7f.tar.gz
linux-c24cd679b075b0e953ea167b0aa2b2d59e4eba7f.tar.bz2
linux-c24cd679b075b0e953ea167b0aa2b2d59e4eba7f.zip
net: ethernet: ti: am65-cpsw-nuss: cleanup DMA Channels before using them
The TX and RX DMA Channels used by the driver to exchange data with CPSW are not guaranteed to be in a clean state during driver initialization. The Bootloader could have used the same DMA Channels without cleaning them up in the event of failure. Thus, reset and disable the DMA Channels to ensure that they are in a clean state before using them. Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver") Reported-by: Schuyler Patton <spatton@ti.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20240417095425.2253876-1-s-vadapalli@ti.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions