mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
9e28cfead2
The second resource is optional which is only provided on the chipset
IPQ5018. But the blamed commit ignores that and if the resource is
not there it just fails.
the resource is used like this,
if (priv->eth_ldo_rdy) {
val = readl(priv->eth_ldo_rdy);
val |= BIT(0);
writel(val, priv->eth_ldo_rdy);
fsleep(IPQ_PHY_SET_DELAY_US);
}
This patch reverts that to still allow the second resource to be optional
because other SoC have the some MDIO controller and doesn't need to
second resource.
Fixes:
|
||
---|---|---|
.. | ||
acpi_mdio.c | ||
fwnode_mdio.c | ||
Kconfig | ||
Makefile | ||
mdio-aspeed.c | ||
mdio-bcm-iproc.c | ||
mdio-bcm-unimac.c | ||
mdio-bitbang.c | ||
mdio-cavium.c | ||
mdio-cavium.h | ||
mdio-gpio.c | ||
mdio-hisi-femac.c | ||
mdio-i2c.c | ||
mdio-ipq4019.c | ||
mdio-ipq8064.c | ||
mdio-moxart.c | ||
mdio-mscc-miim.c | ||
mdio-mux-bcm6368.c | ||
mdio-mux-bcm-iproc.c | ||
mdio-mux-gpio.c | ||
mdio-mux-meson-g12a.c | ||
mdio-mux-mmioreg.c | ||
mdio-mux-multiplexer.c | ||
mdio-mux.c | ||
mdio-mvusb.c | ||
mdio-octeon.c | ||
mdio-sun4i.c | ||
mdio-thunder.c | ||
mdio-xgene.c | ||
of_mdio.c |