aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-15 14:47:16 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-11-15 14:47:16 +0900
commitc8f367802c5fdae87b36b2f846b46f38486b239b (patch)
tree17dd62b80f7036ee848dcbce0a9d718e3b5190a2
parentMerge branch 'rmobile/urgent' into rmobile-fixes-for-linus (diff)
parentARM: mach-shmobile: ap4evb: add fsib 44100Hz rate (diff)
downloadlinux-dev-c8f367802c5fdae87b36b2f846b46f38486b239b.tar.xz
linux-dev-c8f367802c5fdae87b36b2f846b46f38486b239b.zip
Merge branch 'rmobile/core' into rmobile-fixes-for-linus
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c4
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)
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));