]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: mscc-miim: Set back the optional resource.
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 30 Nov 2021 09:57:45 +0000 (10:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Nov 2021 12:22:04 +0000 (12:22 +0000)
commitdcb05aa7514cf0caad66a2c14b532f96088d9a7e
treef864a7bec7054e1bd190f0d85f86c778e7413fd3
parent2d033852772f4feff720a31e7a2136557be8c113
net: mdio: mscc-miim: Set back the optional resource.

In the blamed commit, the second memory resource was not considered
anymore as optional. On some platforms like sparx5 the second resource
is optional. So add it back as optional and restore the comment that
says so.

Fixes: ec4bd430fec246 ("net: mdio: mscc-miim: convert to a regmap implementation")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-mscc-miim.c