]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: ll_temac: Enable DMA when ready, not before
authorEsben Haabendal <esben@geanix.com>
Tue, 30 Apr 2019 07:17:59 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 18:33:31 +0000 (14:33 -0400)
commit73f7375d3ed6ad372f1e9404007a0c866063d773
treeb8b355013ec19637c6f26d2686e6975b877c5942
parent7e97a194aca03c6ff86f84e46e196f5c9ed5c32c
net: ll_temac: Enable DMA when ready, not before

As soon as TAILDESCR_PTR is written, DMA transfers might start.
Let's ensure we are ready to receive DMA IRQ's before doing that.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c