diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-11-14 22:11:09 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-15 00:46:38 -0500 |
commit | 574490e30a2a07cd7bc7ee7f63f1e61375a0359b (patch) | |
tree | ba78e521fa484e008ffa17b3ed271953849953c5 /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | 2e351ec61c35fac01ed1fb1ce35c183bf85e780c (diff) |
ARM: mach-shmobile: ap4evb: add fsib 44100Hz rate
Tested-by: Tony SIM <chinyeow.sim.xt@renesas.com>
Tested-by: TAKEI Mitsuharu <takei.andr@gmail.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 63c2fcac8e1e..d3260542b943 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -583,6 +583,10 @@ static int fsi_set_rate(int is_porta, int rate) | |||
583 | return -EINVAL; | 583 | return -EINVAL; |
584 | 584 | ||
585 | switch (rate) { | 585 | switch (rate) { |
586 | case 44100: | ||
587 | clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 11283000)); | ||
588 | ret = SH_FSI_ACKMD_256 | SH_FSI_BPFMD_64; | ||
589 | break; | ||
586 | case 48000: | 590 | case 48000: |
587 | clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 85428000)); | 591 | clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 85428000)); |
588 | clk_set_rate(fdiv_clk, clk_round_rate(fdiv_clk, 12204000)); | 592 | clk_set_rate(fdiv_clk, clk_round_rate(fdiv_clk, 12204000)); |