]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mscc: read 'vsc8531, led-%d-mode' as an u32
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 3 Sep 2018 08:48:51 +0000 (10:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 17:47:53 +0000 (10:47 -0700)
commit7c3cacff185c0d55f0cf3f96d3db87e53dc75c01
tree4fa6c63ff4806be71a2c3190af3f3ff439d57dd0
parent37eb50305a8778a76366a0011d4c1108a651cc71
net: phy: mscc: read 'vsc8531, led-%d-mode' as an u32

In the DT binding, it is specified nowhere that 'vsc8531,led-%d-mode' is
an u8, even though it's read as an u8 in the driver.

Let's update the driver to take into consideration that the
'vsc8531,led-%d-mode' 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