
17 May
2022
17 May
'22
11:51 p.m.
On 16.05.22 04:43, Weijie Gao wrote:
The address returned by regmap_get_range() is not remapped. Directly r/w to this address is ok for ARM platforms since it's idential to the virtual address.
But for MIPS platform only virtual address should be used for access. To solve this issue, the regmap api regmap_read/regmap_write should be used since they will remap address before accessing.
Reviewed-by: Ramon Fried rfried.dev@gmail.com Signed-off-by: Weijie Gao weijie.gao@mediatek.com
v5 changes: none v4 changes: new
drivers/net/mtk_eth.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)
Reviewed-by: Daniel Schwierzeck daniel.schwierzeck@gmail.com
--
- Daniel