linux/drivers/net/ethernet/cadence
Michael Tretter a04be4b6b5 net: macb: simplify clk_init with dev_err_probe
On some platforms, e.g., the ZynqMP, devm_clk_get can return
-EPROBE_DEFER if the clock controller, which is implemented in firmware,
has not been probed yet.

As clk_init is only called during probe, use dev_err_probe to simplify
the error message and hide it for -EPROBE_DEFER.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-17 15:10:05 -07:00
..
Kconfig ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
macb_main.c net: macb: simplify clk_init with dev_err_probe 2021-03-17 15:10:05 -07:00
macb_pci.c net: macb: move pdata to private header 2020-09-30 14:18:19 -07:00
macb_ptp.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
macb.h net: macb: Disable PCS auto-negotiation for SGMII fixed-link mode 2021-03-12 16:44:45 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00