commit | 466bcdc1fa303be175c45d054bb00effc575033a | [log] [tgz] |
---|---|---|
author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | Mon Jul 09 10:01:07 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 10 12:32:35 2018 +0200 |
tree | 1f38d62cf6535f3618d19979b2f2bd674fc72f86 | |
parent | 7a7a7e0ec450fbde6dd814054001fe231f1af4b5 [diff] |
staging: fsl-dpaa2/eth: Fix DMA mapping direction We are using DMA_FROM_DEVICE when mapping RX frame buffers, but DMA_BIDIRECTIONAL for unmap. Fix the direction for DMA unmapping operation. Fixes: 87eb55e418b7 ("staging: fsl-dpaa2/eth: Fix potential endless loop") Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>