Re: [net, PATCH v2] net: stmmac: handle endianness in dwmac4_get_timestamp

2019-02-17 Thread David Miller
From: Alexandre Torgue Date: Fri, 15 Feb 2019 10:49:09 +0100 > 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 ("

[net, PATCH v2] net: stmmac: handle endianness in dwmac4_get_timestamp

2019-02-15 Thread Alexandre Torgue
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 --