]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: phy: mscc: read 'vsc8531,vddmac' as an u32
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 3 Sep 2018 08:48:49 +0000 (10:48 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:29 +0000 (13:16 +0100)
commitda662af66835bab33d453b998e68718b118848d4
treecb2a7129cea0692ef83a4b415b5a947e61bec40f
parent696cda79c3b888892bdaa8b561030dec95d6e6d7
net: phy: mscc: read 'vsc8531,vddmac' as an u32

BugLink: https://bugs.launchpad.net/bugs/1853915
[ Upstream commit a993e0f583c7925adaa7721226ccd7a41e7e63d1 ]

In the DT binding, it is specified nowhere that 'vsc8531,vddmac' is an
u16, even though it's read as an u16 in the driver.

Let's update the driver to take into consideration that the
'vsc8531,vddmac' property is of the default type u32.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/phy/mscc.c