diff options
author | Sean Wang <sean.wang@mediatek.com> | 2016-09-01 10:47:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-31 20:53:47 -0700 |
commit | 549e5495467ac2a76489f1304e2b4a7ad85e1644 (patch) | |
tree | adb5a4b9104ea0c88d1784c05f38f1d9506c38c2 /Documentation | |
parent | c6f1dc4d9ce275c1bd9d90b5630f36ca6abccc97 (diff) |
net: ethernet: mediatek: fix incorrect return value of devm_clk_get with EPROBE_DEFER
1) If the return value of devm_clk_get is EPROBE_DEFER, we should
defer probing the driver. The change is verified and works based
on 4.8-rc1 staying with the latest clk-next code for MT7623.
2) Changing with the usage of loops to work out if all clocks
required are fine
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions