commit | 9aea7779b764a11e357d3c74af6aee3cf90f2045 | [log] [tgz] |
---|---|---|
author | Alban Bedel <alban.bedel@avionic-design.de> | Tue Feb 28 18:08:55 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 02 12:47:23 2017 -0800 |
tree | fb4d3c61011d13589a47ce7038658d8c159d98aa | |
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>