commit | 549e5495467ac2a76489f1304e2b4a7ad85e1644 | [log] [tgz] |
---|---|---|
author | Sean Wang <sean.wang@mediatek.com> | Thu Sep 01 10:47:28 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 31 20:53:47 2016 -0700 |
tree | adb5a4b9104ea0c88d1784c05f38f1d9506c38c2 | |
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>