]> 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)
commit1e51eae7dc53db3854323f7dfbb6c95ab650fa27
treef864a7bec7054e1bd190f0d85f86c778e7413fd3
parentdd282d15e3133461f71e0f11e8dbb63a1701e293
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: 05e5b233222d87 ("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