From: David S. Miller Date: Wed, 18 Aug 2021 09:48:52 +0000 (+0100) Subject: Merge branch 'mdio-fixes' X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=97712f8f912fb7f2e305468047421bcac0f6653c;p=kernel.git Merge branch 'mdio-fixes' Saravana Kannan says: ==================== Clean up and fix error handling in mdio_mux_init() This patch series was started due to -EPROBE_DEFER not being handled correctly in mdio_mux_init() and causing issues [1]. While at it, I also did some more error handling fixes and clean ups. The -EPROBE_DEFER fix is the last patch. Ideally, in the last patch we'd treat any error similar to -EPROBE_DEFER but I'm not sure if it'll break any board/platforms where some child mdiobus never successfully registers. If we treated all errors similar to -EPROBE_DEFER, then none of the child mdiobus will work and that might be a regression. If people are sure this is not a real case, then I can fix up the last patch to always fail the entire mdio-mux init if any of the child mdiobus registration fails. ==================== Signed-off-by: David S. Miller --- 97712f8f912fb7f2e305468047421bcac0f6653c