ARM: mach-shmobile: ap4evb: add fsib 44100Hz rate
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Nov 2010 03:11:09 +0000 (03:11 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 15 Nov 2010 05:46:38 +0000 (14:46 +0900)
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>
arch/arm/mach-shmobile/board-ap4evb.c

index 63c2fca..d326054 100644 (file)
@@ -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));