]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: perform DMA unmapping before read
authorMadalin Bucur <madalin.bucur@nxp.com>
Thu, 31 Oct 2019 14:37:49 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 19:13:33 +0000 (12:13 -0700)
commit711a7a83ba1ef733af5a32e725779a369b0b2862
treeee935d474213a7019d1b76afec0779ea58da5db5
parent4b7ab05e2ecdf744d4680f66ab60352fdc1383c2
dpaa_eth: perform DMA unmapping before read

DMA unmapping is required before accessing the HW provided timestamping
information.

Fixes: ae149bfe4cc5 ("dpaa_eth: add support for hardware timestamping")
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c