commit | ad688cdbb076833ba17fc65591cd0fe01900a5cf | [log] [tgz] |
---|---|---|
author | Pavel Machek <pavel@ucw.cz> | Sun Dec 18 21:38:12 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 19 11:05:02 2016 -0500 |
tree | 0b36819266511a2dcacef21c8f42000ed88afaa0 | |
parent | 162809dfc2bfb31eb54dc67733bcdab0f2d1534d [diff] |
stmmac: fix memory barriers Fix up memory barriers in stmmac driver. They are meant to protect against DMA engine, so smp_ variants are certainly wrong, and dma_ variants are preferable. Signed-off-by: Pavel Machek <pavel@denx.de> Tested-by: Niklas Cassel <niklas.cassel@axis.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>