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:
fa6d459
)
mpc5121: don't check PSC ac97 using node name
author
Anatolij Gustschin
<agust@denx.de>
Fri, 21 Dec 2012 12:08:07 +0000
(13:08 +0100)
committer
Anatolij Gustschin
<agust@denx.de>
Tue, 15 Jan 2013 19:11:28 +0000
(20:11 +0100)
The .dtsi now names all PSC nodes as "psc", so this ac97
check won't work. Check for ac97 PSC using compatible
property.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/512x/clock.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/512x/clock.c
b/arch/powerpc/platforms/512x/clock.c
index d0095c8ee57955c9c0705729edebcddb0c881d11..7937361c5804f4d3f05569f1a5fd76bd47ce5424 100644
(file)
--- a/
arch/powerpc/platforms/512x/clock.c
+++ b/
arch/powerpc/platforms/512x/clock.c
@@
-695,7
+695,7
@@
static void psc_clks_init(void)
* AC97 is special rate clock does
* not go through normal path
*/
- if (
strcmp("ac97", np->name) == 0
)
+ if (
of_device_is_compatible(np, "fsl,mpc5121-psc-ac97")
)
clk->rate = ac97_clk.rate;
else
psc_calc_rate(clk, pscnum, np);