projects/linux·commit 574490e3

ARM: mach-shmobile: ap4evb: add fsib 44100Hz rate

574490e3 · Kuninori Morimoto <[email protected]> · 2010-11-15 03:11:09 +00:00

Tested-by: Tony SIM <[email protected]>
Tested-by: TAKEI Mitsuharu <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Commit
574490e30a2a07cd7bc7ee7f63f1e61375a0359b
Parents
2e351ec6

Changes

1 files changed · +4 −0

FileStatusAddDelContent
arch/arm/mach-shmobile/board-ap4evb.cmodified+4−0View file

arch/arm/mach-shmobile/board-ap4evb.c

View file
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 63c2fca..d326054 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)
return -EINVAL;
switch (rate) {
+ case 44100:
+ clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 11283000));
+ ret = SH_FSI_ACKMD_256 | SH_FSI_BPFMD_64;
+ break;
case 48000:
clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 85428000));
clk_set_rate(fdiv_clk, clk_round_rate(fdiv_clk, 12204000));