Home
last modified time | relevance | path

Searched hist:c074f70ce5d85e1735b589b323fac99d7eb988b5 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/drivers/marvell/comphy/
H A Dphy-comphy-3700.cc074f70ce5d85e1735b589b323fac99d7eb988b5 Thu Sep 23 16:19:24 UTC 2021 Pali Rohár <pali@kernel.org> fix(drivers/marvell/comphy-3700): fix address overflow

Physical address has to be stored in 64-bit data type as Armada 3720 is
64-bit platform. Driver already uses uintptr_t type for this purpise.

Change type of 'offset' variables in mvebu_a3700_comphy_usb3_power_on()
and mvebu_a3700_comphy_sgmii_power_on() / off() functions to uintptr_t
as in this variable is stored physical address of registers.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I69581714f8899d21cc1a27005747708f0f1cd933