projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de000a8
)
clk: mediatek: add mt2701 ethernet reset
author
John Crispin
<john@phrozen.org>
Mon, 23 Jan 2017 12:48:26 +0000
(13:48 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Sat, 22 Apr 2017 02:20:33 +0000
(19:20 -0700)
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>
drivers/clk/mediatek/clk-mt2701-eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/mediatek/clk-mt2701-eth.c
b/drivers/clk/mediatek/clk-mt2701-eth.c
index 877be8715afac308634ca500f266e3f56fc61c47..9251a65515221439d4dbfb92cdf3934aad098104 100644
(file)
--- a/
drivers/clk/mediatek/clk-mt2701-eth.c
+++ b/
drivers/clk/mediatek/clk-mt2701-eth.c
@@
-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;
}