提交 db9c4a1e 编写于 作者: J John Crispin 提交者: Stephen Boyd

clk: mediatek: add mt2701 ethernet reset

The ethernet clock core has a reset register that is currently not exposed
to the user. Fix this by adding the missing registration code.
Signed-off-by: NJohn Crispin <john@phrozen.org>
Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
上级 de000a88
...@@ -66,6 +66,8 @@ static int clk_mt2701_eth_probe(struct platform_device *pdev) ...@@ -66,6 +66,8 @@ static int clk_mt2701_eth_probe(struct platform_device *pdev)
"could not register clock provider: %s: %d\n", "could not register clock provider: %s: %d\n",
pdev->name, r); pdev->name, r);
mtk_register_reset_controller(node, 1, 0x34);
return r; return r;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册