diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2019-02-15 12:49:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-23 11:06:43 +0300 |
commit | b690bf8fdb338ba1a09d2a436514d48c81f916a8 (patch) | |
tree | 91a5f01637f28dca10c3917164614d5833b1d74b /drivers/net/ethernet/marvell | |
parent | c15b7addede2b75303428c956faac3e78eafac46 (diff) | |
download | linux-b690bf8fdb338ba1a09d2a436514d48c81f916a8.tar.xz |
net: stmmac: handle endianness in dwmac4_get_timestamp
[ Upstream commit 224babd62d6f19581757a6d8bae3bf9501fc10de ]
GMAC IP is little-endian and used on several kind of CPU (big or little
endian). Main callbacks functions of the stmmac drivers take care about
it. It was not the case for dwmac4_get_timestamp function.
Fixes: ba1ffd74df74 ("stmmac: fix PTP support for GMAC4")
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/marvell')
0 files changed, 0 insertions, 0 deletions