diff options
author | Alban Bedel <alban.bedel@avionic-design.de> | 2017-02-28 18:08:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-02 21:47:23 +0100 |
commit | 9aea7779b764a11e357d3c74af6aee3cf90f2045 (patch) | |
tree | fb4d3c61011d13589a47ce7038658d8c159d98aa /drivers/target | |
parent | ipv6: check for ip6_null_entry in __ip6_del_rt_siblings() (diff) | |
download | linux-9aea7779b764a11e357d3c74af6aee3cf90f2045.tar.xz linux-9aea7779b764a11e357d3c74af6aee3cf90f2045.zip |
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 'drivers/target')
0 files changed, 0 insertions, 0 deletions