summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2021-08-18 06:38:03 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-18 12:48:52 +0300
commit7bd0cef5dac685f09ef8b0b2a7748ff42d284dc7 (patch)
tree1a5b3fef53e35703f3c8cdc1a1f927508b5092fe /sound/usb
parent99d81e942474cc7677d12f673f42a7ea699e2589 (diff)
downloadlinux-7bd0cef5dac685f09ef8b0b2a7748ff42d284dc7.tar.xz
net: mdio-mux: Handle -EPROBE_DEFER correctly
When registering mdiobus children, if we get an -EPROBE_DEFER, we shouldn't ignore it and continue registering the rest of the mdiobus children. This would permanently prevent the deferring child mdiobus from working instead of reattempting it in the future. So, if a child mdiobus needs to be reattempted in the future, defer the entire mdio-mux initialization. This fixes the issue where PHYs sitting under the mdio-mux aren't initialized correctly if the PHY's interrupt controller is not yet ready when the mdio-mux is being probed. Additional context in the link below. Fixes: 0ca2997d1452 ("netdev/of/phy: Add MDIO bus multiplexer support.") Link: https://lore.kernel.org/lkml/CAGETcx95kHrv8wA-O+-JtfH7H9biJEGJtijuPVN0V5dUKUAB3A@mail.gmail.com/#t Signed-off-by: Saravana Kannan <saravanak@google.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Marc Zyngier <maz@kernel.org> Tested-by: Marc Zyngier <maz@kernel.org> Acked-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions