diff options
author | Alban Bedel | 2017-02-28 18:08:55 +0100 |
---|---|---|
committer | David S. Miller | 2017-03-02 12:47:23 -0800 |
commit | 9aea7779b764a11e357d3c74af6aee3cf90f2045 (patch) | |
tree | fb4d3c61011d13589a47ce7038658d8c159d98aa /init | |
parent | e3330039ea28dc199e3b2da993895ff742a91adf (diff) |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions