diff options
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/clock-mx28.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c index 60c189a441b7..df0ad3ce234b 100644 --- a/arch/arm/mach-mxs/clock-mx28.c +++ b/arch/arm/mach-mxs/clock-mx28.c | |||
@@ -814,6 +814,15 @@ int __init mx28_clocks_init(void) | |||
814 | clk_set_parent(&saif0_clk, &pll0_clk); | 814 | clk_set_parent(&saif0_clk, &pll0_clk); |
815 | clk_set_parent(&saif1_clk, &pll0_clk); | 815 | clk_set_parent(&saif1_clk, &pll0_clk); |
816 | 816 | ||
817 | /* | ||
818 | * Set an initial clock rate for the saif internal logic to work | ||
819 | * properly. This is important when working in EXTMASTER mode that | ||
820 | * uses the other saif's BITCLK&LRCLK but it still needs a basic | ||
821 | * clock which should be fast enough for the internal logic. | ||
822 | */ | ||
823 | clk_set_rate(&saif0_clk, 24000000); | ||
824 | clk_set_rate(&saif1_clk, 24000000); | ||
825 | |||
817 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); | 826 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); |
818 | 827 | ||
819 | mxs_timer_init(&clk32k_clk, MX28_INT_TIMER0); | 828 | mxs_timer_init(&clk32k_clk, MX28_INT_TIMER0); |