1
0
Fork 0

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: John Crispin <john@phrozen.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
hifive-unleashed-5.1
John Crispin 2017-01-23 13:48:26 +01:00 committed by Stephen Boyd
parent de000a88c1
commit db9c4a1e65
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ static int clk_mt2701_eth_probe(struct platform_device *pdev)
"could not register clock provider: %s: %d\n",
pdev->name, r);
mtk_register_reset_controller(node, 1, 0x34);
return r;
}