]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sun8i_emac: Drop unneeded cache invalidation before sending
authorAndre Przywara <andre.przywara@arm.com>
Mon, 6 Jul 2020 00:40:39 +0000 (01:40 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 21 Oct 2020 18:14:16 +0000 (23:44 +0530)
commiteaeadb50ea4d65e6fdbde7224b089dca6a41ff1e
tree138e4c487209aa81e4ee18cd13546bf0928b3884
parented909de5d3300f473e5ee5a520267c3e04b43b76
net: sun8i_emac: Drop unneeded cache invalidation before sending

There is no reason to invalidate a TX descriptor before we are setting
it up, as we will only write to a field.

Remove the not needed invalidate_dcache_range() call.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Amit Singh Tomar <amittomer25@gmail.com> # Pine64+
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/net/sun8i_emac.c