projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e351ec
)
ARM: mach-shmobile: ap4evb: add fsib 44100Hz rate
author
Kuninori Morimoto
<
[email protected]
>
Mon, 15 Nov 2010 03:11:09 +0000
(
03:11
+0000)
committer
Paul Mundt
<
[email protected]
>
Mon, 15 Nov 2010 05:46:38 +0000
(14:46 +0900)
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]
>
arch/arm/mach-shmobile/board-ap4evb.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-shmobile/board-ap4evb.c
b/arch/arm/mach-shmobile/board-ap4evb.c
index 63c2fcac8e1e2c6b567a2f596f01e9469c372a11..d3260542b943df9a4743b7ba5489f3a0d5733780 100644
(file)
--- 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));