Searched hist:e2dbbbe52c4a0f7704735b49f864fe8ea06111e5 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | diff e2dbbbe52c4a0f7704735b49f864fe8ea06111e5 Thu Jun 17 04:49:23 CDT 2021 Esben Haabendal <esben@geanix.com> net: gianfar: Avoid 16 bytes of memset
The memset on CAMx is wrong, as it actually unmasks all carry irq's, which we clearly are not interested in.
The memset on CARx registers is just pointless, as they are W1C.
So let's just stop the memset before CAR1.
Signed-off-by: Esben Haabendal <esben@geanix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|