]> asedeno.scripts.mit.edu Git - linux.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 17:47:53 +0000 (10:47 -0700)
commita993e0f583c7925adaa7721226ccd7a41e7e63d1
tree6bd461f359ad091cb3bb4cb658f3efe71309cfec
parent0969abaa5093ef958540c140f86fb6dd46cfa61f
net: phy: mscc: read 'vsc8531,vddmac' as an u32

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>
drivers/net/phy/mscc.c