Searched hist:e73b49ebd9deeb0ff2cd9ac6fd9c72a433d1e062 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | stmmac.h | diff e73b49ebd9deeb0ff2cd9ac6fd9c72a433d1e062 Thu Nov 02 02:22:13 CDT 2017 Bhadram Varka <vbhadram@nvidia.com> stmmac: use of_property_read_u32 instead of read_u8
Numbers in DT are stored in “cells” which are 32-bits in size. of_property_read_u8 does not work properly because of endianness problem.
This causes it to always return 0 with little-endian architectures.
Fix it by using of_property_read_u32() OF API.
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | diff e73b49ebd9deeb0ff2cd9ac6fd9c72a433d1e062 Thu Nov 02 02:22:13 CDT 2017 Bhadram Varka <vbhadram@nvidia.com> stmmac: use of_property_read_u32 instead of read_u8
Numbers in DT are stored in “cells” which are 32-bits in size. of_property_read_u8 does not work properly because of endianness problem.
This causes it to always return 0 with little-endian architectures.
Fix it by using of_property_read_u32() OF API.
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|