arm: socfpga: misc_s10: Fix EMAC register address calculation
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 25 Jun 2020 11:19:09 +0000 (19:19 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Fri, 26 Jun 2020 03:30:24 +0000 (11:30 +0800)
commit8a204312abad7913f9b2209a71bef81853647b21
tree47d1e2f159f3fe83d568f7e11eca25129cd24756
parenteae62ae8de1893f7cf08e276ab841d3f99245603
arm: socfpga: misc_s10: Fix EMAC register address calculation

Fix EMAC register address calculation, address need to multiply
with sizeof(u32) or 4.

This fixes write to invalid address.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/misc_s10.c