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
..
2017-02-23 15:57:04 -08:00
2017-02-22 10:30:38 -08:00
2017-02-23 15:57:04 -08:00
2017-02-27 18:43:47 -08:00
2017-02-20 16:42:43 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 15:57:04 -08:00
2017-02-21 11:51:42 -08:00
2017-02-27 18:43:47 -08:00
2017-02-22 19:23:14 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 11:53:22 -08:00
2017-02-25 14:35:37 -08:00
2017-02-20 17:23:57 -08:00
2017-02-23 15:57:04 -08:00
2017-02-27 19:59:21 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 15:57:04 -08:00
2017-02-20 17:55:15 -08:00
2017-02-20 14:22:50 +01:00
2017-02-27 18:43:47 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 11:26:09 -08:00
2017-02-27 18:43:47 -08:00
2017-02-23 11:53:22 -08:00