mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ARM: mx28evk: set a initial clock rate for saif
Signed-off-by: Dong Aisheng <[email protected]> Acked-by: Marek Vasut <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Uwe Kleine-König <[email protected]> Cc: Mark Brown <[email protected]> Cc: Liam Girdwood <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
This commit is contained in:
parent
4c0174c520
commit
b07fed455c
1 changed files with 9 additions and 0 deletions
|
|
@ -814,6 +814,15 @@ int __init mx28_clocks_init(void)
|
|||
clk_set_parent(&saif0_clk, &pll0_clk);
|
||||
clk_set_parent(&saif1_clk, &pll0_clk);
|
||||
|
||||
/*
|
||||
* Set an initial clock rate for the saif internal logic to work
|
||||
* properly. This is important when working in EXTMASTER mode that
|
||||
* uses the other saif's BITCLK&LRCLK but it still needs a basic
|
||||
* clock which should be fast enough for the internal logic.
|
||||
*/
|
||||
clk_set_rate(&saif0_clk, 24000000);
|
||||
clk_set_rate(&saif1_clk, 24000000);
|
||||
|
||||
clkdev_add_table(lookups, ARRAY_SIZE(lookups));
|
||||
|
||||
mxs_timer_init(&clk32k_clk, MX28_INT_TIMER0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue