linux/drivers/net/ethernet/apm/xgene
Alban Bedel 9aea7779b7 drivers: net: xgene: Fix crash on DT systems
On DT systems the driver require a clock, but the probe just print a
warning and continue, leading to a crash when resetting the device.
To fix this crash and properly handle probe deferals only ignore the
missing clock if DT isn't used or if the clock doesn't exist.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-02 12:47:23 -08:00
..
Kconfig drivers: net: xgene: Poll link status via GPIO 2016-08-13 11:48:53 -07:00
Makefile drivers: net: xgene: Add support for Classifier engine 2016-02-17 22:08:34 -05:00
xgene_enet_cle.c net: xgene: move xgene_cle_ptree_ewdn data off stack 2016-12-08 21:30:54 -05:00
xgene_enet_cle.h net: xgene: move xgene_cle_ptree_ewdn data off stack 2016-12-08 21:30:54 -05:00
xgene_enet_ethtool.c drivers: net: xgene: ethtool: Add get/set_pauseparam 2016-12-03 15:46:50 -05:00
xgene_enet_hw.c drivers: net: xgene: Add flow control initialization 2016-12-03 15:46:50 -05:00
xgene_enet_hw.h drivers: net: xgene: Add flow control initialization 2016-12-03 15:46:50 -05:00
xgene_enet_main.c drivers: net: xgene: Fix crash on DT systems 2017-03-02 12:47:23 -08:00
xgene_enet_main.h drivers: net: xgene: Add flow control configuration 2016-12-03 15:46:50 -05:00
xgene_enet_ring2.c drivers: net: xgene: Add support for Jumbo frame 2016-12-03 15:46:50 -05:00
xgene_enet_ring2.h drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_sgmac.c drivers: net: xgene: Add flow control initialization 2016-12-03 15:46:50 -05:00
xgene_enet_sgmac.h drivers: net: xgene: Fix module unload crash - clkrst sequence 2016-07-25 21:51:43 -07:00
xgene_enet_xgmac.c drivers: net: xgene: Add flow control initialization 2016-12-03 15:46:50 -05:00
xgene_enet_xgmac.h drivers: net: xgene: Add flow control initialization 2016-12-03 15:46:50 -05:00