aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/abe/abe_ini.c
diff options
context:
space:
mode:
authorSebastien Guiriec <s-guiriec@ti.com>2011-08-01 16:08:42 -0500
committerSimon Wilson <simonwilson@google.com>2011-08-03 17:43:16 -0700
commite73dcb533a1d3b9b5cacc3746d6b3540f7412438 (patch)
tree2d487c8f0e2ff8da868bcbfdbeec5ac437f8d8b3 /sound/soc/omap/abe/abe_ini.c
parent746f1329ec2ca43413bb94817da6b23edd702ec4 (diff)
downloadkernel_samsung_tuna-e73dcb533a1d3b9b5cacc3746d6b3540f7412438.zip
kernel_samsung_tuna-e73dcb533a1d3b9b5cacc3746d6b3540f7412438.tar.gz
kernel_samsung_tuna-e73dcb533a1d3b9b5cacc3746d6b3540f7412438.tar.bz2
ASoC: OMAP ABE: Firmware version 09.46
This patch is updating the ABE firmware version to 09.46. It is including: - Correction of saturation issue - Add McPDM offset cancellation API - Correction of ASRC for MODEM - Stereo to mono conversion Change-Id: I9882e6430abfe453f0efe486534254339dd051b4 Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound/soc/omap/abe/abe_ini.c')
-rw-r--r--sound/soc/omap/abe/abe_ini.c250
1 files changed, 70 insertions, 180 deletions
diff --git a/sound/soc/omap/abe/abe_ini.c b/sound/soc/omap/abe/abe_ini.c
index f445da9..288a3d3 100644
--- a/sound/soc/omap/abe/abe_ini.c
+++ b/sound/soc/omap/abe/abe_ini.c
@@ -199,17 +199,17 @@ int omap_abe_reload_fw(struct omap_abe *abe, u32 *firmware)
abe->irq_dbg_read_ptr = 0;
/* Restore Gains not managed by the drivers */
omap_abe_write_gain(abe, GAINS_SPLIT, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_SPLIT, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL1, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL1, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL2, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL2, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
return 0;
}
EXPORT_SYMBOL(omap_abe_reload_fw);
@@ -241,210 +241,100 @@ void omap_abe_build_scheduler_table(struct omap_abe *abe)
i < sizeof(abe->MultiFrame); i++)
*ptr++ = 0;
- /* MultiFrame[0][0] = 0; */
- /* MultiFrame[0][1] = 0; */
abe->MultiFrame[0][2] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_VX_DL)*/;
- /* MultiFrame[0][3] = 0; */
- /* MultiFrame[0][4] = 0; */
- /* MultiFrame[0][5] = 0; */
- /* MultiFrame[0][6] = 0; */
- /* MultiFrame[0][7] = 0; */
- /* MultiFrame[1][0] = 0; */
- /* MultiFrame[1][1] = 0; */
- abe->MultiFrame[1][2] = ABE_TASK_ID(C_ABE_FW_TASK_ASRC_VX_DL_8);
- abe->MultiFrame[1][3] = ABE_TASK_ID(C_ABE_FW_TASK_VX_DL_8_48);
- /* MultiFrame[1][4] = 0; */
- /* MultiFrame[1][5] = 0; */
+ abe->MultiFrame[0][3] = ABE_TASK_ID(C_ABE_FW_TASK_ASRC_VX_DL_8);
+
+ abe->MultiFrame[1][3] = ABE_TASK_ID(C_ABE_FW_TASK_VX_DL_8_48_FIR);
abe->MultiFrame[1][6] = ABE_TASK_ID(C_ABE_FW_TASK_DL2Mixer);
abe->MultiFrame[1][7] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_VIB_DL)*/;
+
abe->MultiFrame[2][0] = ABE_TASK_ID(C_ABE_FW_TASK_DL1Mixer);
abe->MultiFrame[2][1] = ABE_TASK_ID(C_ABE_FW_TASK_SDTMixer);
- /* MultiFrame[2][2] = 0; */
- /* MultiFrame[2][3] = 0; */
- /* MultiFrame[2][4] = 0; */
abe->MultiFrame[2][5] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_DMIC)*/;
- /* MultiFrame[2][6] = 0; */
- /* MultiFrame[2][7] = 0; */
+
abe->MultiFrame[3][0] = ABE_TASK_ID(C_ABE_FW_TASK_DL1_GAIN);
- /* MultiFrame[3][1] = 0; */
- /* MultiFrame[3][2] = 0; */
- /* MultiFrame[3][3] = 0; */
- /* MultiFrame[3][4] = 0; */
- /* MultiFrame[3][5] = 0; */
abe->MultiFrame[3][6] = ABE_TASK_ID(C_ABE_FW_TASK_DL2_GAIN);
abe->MultiFrame[3][7] = ABE_TASK_ID(C_ABE_FW_TASK_DL2_EQ);
+
abe->MultiFrame[4][0] = ABE_TASK_ID(C_ABE_FW_TASK_DL1_EQ);
- /* MultiFrame[4][1] = 0; */
abe->MultiFrame[4][2] = ABE_TASK_ID(C_ABE_FW_TASK_VXRECMixer);
abe->MultiFrame[4][3] = ABE_TASK_ID(C_ABE_FW_TASK_VXREC_SPLIT);
- /* MultiFrame[4][4] = 0; */
- /* MultiFrame[4][5] = 0; */
abe->MultiFrame[4][6] = ABE_TASK_ID(C_ABE_FW_TASK_VIBRA1);
abe->MultiFrame[4][7] = ABE_TASK_ID(C_ABE_FW_TASK_VIBRA2);
+
abe->MultiFrame[5][0] = 0;
abe->MultiFrame[5][1] = ABE_TASK_ID(C_ABE_FW_TASK_EARP_48_96_LP);
abe->MultiFrame[5][2] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_PDM_UL)*/;
- /* MultiFrame[5][3] = 0; */
- /* MultiFrame[5][4] = 0; */
- /* MultiFrame[5][5] = 0; */
- /* MultiFrame[5][6] = 0; */
abe->MultiFrame[5][7] = ABE_TASK_ID(C_ABE_FW_TASK_VIBRA_SPLIT);
+
abe->MultiFrame[6][0] = ABE_TASK_ID(C_ABE_FW_TASK_EARP_48_96_LP);
- /* MultiFrame[6][1] = 0; */
- /* MultiFrame[6][2] = 0; */
- /* MultiFrame[6][3] = 0; */
- /* MultiFrame[6][4] = 0; */
- abe->MultiFrame[6][5] = ABE_TASK_ID(C_ABE_FW_TASK_EchoMixer);
- /* MultiFrame[6][6] = 0; */
- /* MultiFrame[6][7] = 0; */
+ abe->MultiFrame[6][4] = ABE_TASK_ID(C_ABE_FW_TASK_EchoMixer);
+ abe->MultiFrame[6][5] = ABE_TASK_ID(C_ABE_FW_TASK_BT_UL_SPLIT);
+
abe->MultiFrame[7][0] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_PDM_DL)*/;
- /* MultiFrame[7][1] = 0; */
- abe->MultiFrame[7][2] = ABE_TASK_ID(C_ABE_FW_TASK_BT_UL_SPLIT);
abe->MultiFrame[7][3] = ABE_TASK_ID(C_ABE_FW_TASK_DBG_SYNC);
- /* MultiFrame[7][4] = 0; */
abe->MultiFrame[7][5] = ABE_TASK_ID(C_ABE_FW_TASK_ECHO_REF_SPLIT);
- /* MultiFrame[7][6] = 0; */
- /* MultiFrame[7][7] = 0; */
- /* MultiFrame[8][0] = 0; */
- /* MultiFrame[8][1] = 0; */
+
abe->MultiFrame[8][2] = ABE_TASK_ID(C_ABE_FW_TASK_DMIC1_96_48_LP);
- /* MultiFrame[8][3] = 0; */
abe->MultiFrame[8][4] = ABE_TASK_ID(C_ABE_FW_TASK_DMIC1_SPLIT);
- /* MultiFrame[8][5] = 0; */
- /* MultiFrame[8][6] = 0; */
- /* MultiFrame[8][7] = 0; */
- /* MultiFrame[9][0] = 0; */
- /* MultiFrame[9][1] = 0; */
+
abe->MultiFrame[9][2] = ABE_TASK_ID(C_ABE_FW_TASK_DMIC2_96_48_LP);
- /* MultiFrame[9][3] = 0; */
abe->MultiFrame[9][4] = ABE_TASK_ID(C_ABE_FW_TASK_DMIC2_SPLIT);
- /* MultiFrame[9][5] = 0; */
abe->MultiFrame[9][6] = 0;
abe->MultiFrame[9][7] = ABE_TASK_ID(C_ABE_FW_TASK_IHF_48_96_LP);
- /* MultiFrame[10][0] = 0; */
- /* MultiFrame[10][1] = 0; */
+
abe->MultiFrame[10][2] = ABE_TASK_ID(C_ABE_FW_TASK_DMIC3_96_48_LP);
- /* MultiFrame[10][3] = 0; */
abe->MultiFrame[10][4] = ABE_TASK_ID(C_ABE_FW_TASK_DMIC3_SPLIT);
- /* MultiFrame[10][5] = 0; */
- /* MultiFrame[10][6] = 0; */
abe->MultiFrame[10][7] = ABE_TASK_ID(C_ABE_FW_TASK_IHF_48_96_LP);
- /* MultiFrame[11][0] = 0; */
- /* MultiFrame[11][1] = 0; */
+
abe->MultiFrame[11][2] = ABE_TASK_ID(C_ABE_FW_TASK_AMIC_96_48_LP);
- /* MultiFrame[11][3] = 0; */
abe->MultiFrame[11][4] = ABE_TASK_ID(C_ABE_FW_TASK_AMIC_SPLIT);
- /* MultiFrame[11][5] = 0; */
- /* MultiFrame[11][6] = 0; */
abe->MultiFrame[11][7] = ABE_TASK_ID(C_ABE_FW_TASK_VIBRA_PACK);
- /* MultiFrame[12][0] = 0; */
- /* MultiFrame[12][1] = 0; */
- /* MultiFrame[12][2] = 0; */
+
abe->MultiFrame[12][3] = ABE_TASK_ID(C_ABE_FW_TASK_VX_UL_ROUTING);
abe->MultiFrame[12][4] = ABE_TASK_ID(C_ABE_FW_TASK_ULMixer);
abe->MultiFrame[12][5] = ABE_TASK_ID(C_ABE_FW_TASK_VX_UL_48_8);
- /* MultiFrame[12][6] = 0; */
- /* MultiFrame[12][7] = 0; */
- /* MultiFrame[13][0] = 0; */
- /* MultiFrame[13][1] = 0; */
+
abe->MultiFrame[13][2] = ABE_TASK_ID(C_ABE_FW_TASK_MM_UL2_ROUTING);
abe->MultiFrame[13][3] = ABE_TASK_ID(C_ABE_FW_TASK_SideTone);
- /* MultiFrame[13][4] = 0; */
abe->MultiFrame[13][5] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_BT_VX_DL)*/;
- /* MultiFrame[13][6] = 0; */
- /* MultiFrame[13][7] = 0; */
- /* MultiFrame[14][0] = 0; */
- /* MultiFrame[14][1] = 0; */
- /* MultiFrame[14][2] = 0; */
+
abe->MultiFrame[14][3] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_DMIC)*/;
abe->MultiFrame[14][4] = ABE_TASK_ID(C_ABE_FW_TASK_BT_DL_48_8);
- /* MultiFrame[14][5] = 0; */
- /* MultiFrame[14][6] = 0; */
- /* MultiFrame[14][7] = 0; */
+
abe->MultiFrame[15][0] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_MM_EXT_OUT)*/;
- /* MultiFrame[15][1] = 0; */
- /* MultiFrame[15][2] = 0; */
abe->MultiFrame[15][3] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_BT_VX_UL)*/;
- /* MultiFrame[15][4] = 0; */
- /* MultiFrame[15][5] = 0; */
abe->MultiFrame[15][6] = ABE_TASK_ID(C_ABE_FW_TASK_ASRC_BT_UL_8);
- /* MultiFrame[15][7] = 0; */
- /* MultiFrame[16][0] = 0; */
- /* MultiFrame[16][1] = 0; */
+
abe->MultiFrame[16][2] = ABE_TASK_ID(C_ABE_FW_TASK_ASRC_VX_UL_8);
abe->MultiFrame[16][3] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_VX_UL)*/;
- /* MultiFrame[16][4] = 0; */
- /* MultiFrame[16][5] = 0; */
- /* MultiFrame[16][6] = 0; */
- /* MultiFrame[16][7] = 0; */
- /* MultiFrame[17][0] = 0; */
- /* MultiFrame[17][1] = 0; */
+
abe->MultiFrame[17][2] = ABE_TASK_ID(C_ABE_FW_TASK_BT_UL_8_48);
abe->MultiFrame[17][3] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_MM_UL2)*/;
- /* MultiFrame[17][4] = 0; */
- /* MultiFrame[17][5] = 0; */
- /* MultiFrame[17][6] = 0; */
- /* MultiFrame[17][7] = 0; */
+
abe->MultiFrame[18][0] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_MM_DL)*/;
- /* MultiFrame[18][1] = 0; */
- /* MultiFrame[18][2] = 0; */
- /* MultiFrame[18][3] = 0; */
- /* MultiFrame[18][4] = 0; */
- /* MultiFrame[18][5] = 0; */
abe->MultiFrame[18][6] = ABE_TASK_ID(C_ABE_FW_TASK_ASRC_BT_DL_8);
- /* MultiFrame[18][7] = 0; */
+
abe->MultiFrame[19][0] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_PDM_DL)*/;
- /* MultiFrame[19][1] = 0 */
- /* MultiFrame[19][2] = 0; */
- /* MultiFrame[19][3] = 0; */
- /* MultiFrame[19][4] = 0; */
- /* MultiFrame[19][5] = 0; */
+
/* MM_UL is moved to OPP 100% */
abe->MultiFrame[19][6] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_MM_UL)*/;
- /* MultiFrame[19][7] = 0; */
+
abe->MultiFrame[20][0] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_TONES_DL)*/;
- /* MultiFrame[20][1] = 0; */
- /* MultiFrame[20][2] = 0; */
- /* MultiFrame[20][3] = 0; */
- /* MultiFrame[20][4] = 0; */
- /* MultiFrame[20][5] = 0; */
abe->MultiFrame[20][6] = ABE_TASK_ID(C_ABE_FW_TASK_ASRC_MM_EXT_IN);
- /* MultiFrame[20][7] = 0; */
- /* MultiFrame[21][0] = 0; */
+
abe->MultiFrame[21][1] = ABE_TASK_ID(C_ABE_FW_TASK_DEBUGTRACE_VX_ASRCs);
- /* MultiFrame[21][2] = 0; */
abe->MultiFrame[21][3] = 0/*ABE_TASK_ID(C_ABE_FW_TASK_IO_MM_EXT_IN)*/;
- /* MultiFrame[21][4] = 0; */
- /* MultiFrame[21][5] = 0; */
- /* MultiFrame[21][6] = 0; */
- /* MultiFrame[21][7] = 0; */
/* MUST STAY ON SLOT 22 */
abe->MultiFrame[22][0] = ABE_TASK_ID(C_ABE_FW_TASK_DEBUG_IRQFIFO);
abe->MultiFrame[22][1] = ABE_TASK_ID(C_ABE_FW_TASK_INIT_FW_MEMORY);
abe->MultiFrame[22][2] = 0;
- /* MultiFrame[22][3] = 0; */
/* MM_EXT_IN_SPLIT task must be after IO_MM_EXT_IN and before
ASRC_MM_EXT_IN in order to manage OPP50 <-> transitions */
abe->MultiFrame[22][4] = ABE_TASK_ID(C_ABE_FW_TASK_MM_EXT_IN_SPLIT);
- /* MultiFrame[22][5] = 0; */
- /* MultiFrame[22][6] = 0; */
- /* MultiFrame[22][7] = 0; */
+
abe->MultiFrame[23][0] = ABE_TASK_ID(C_ABE_FW_TASK_GAIN_UPDATE);
- /* MultiFrame[23][1] = 0; */
- /* MultiFrame[23][2] = 0; */
- /* MultiFrame[23][3] = 0; */
- /* MultiFrame[23][4] = 0; */
- /* MultiFrame[23][5] = 0; */
- /* MultiFrame[23][6] = 0; */
- /* MultiFrame[23][7] = 0; */
- /* MultiFrame[24][0] = 0; */
- /* MultiFrame[24][1] = 0; */
- /* MultiFrame[24][2] = 0; */
- /* MultiFrame[24][3] = 0; */
- /* MultiFrame[24][4] = 0; */
- /* MultiFrame[24][5] = 0; */
- /* MultiFrame[24][6] = 0; */
- /* MultiFrame[24][7] = 0; */
+
omap_abe_mem_write(abe, OMAP_ABE_DMEM, OMAP_ABE_D_MULTIFRAME_ADDR,
(u32 *) abe->MultiFrame, sizeof(abe->MultiFrame));
/* reset the uplink router */
@@ -483,75 +373,75 @@ void omap_abe_reset_all_ports(struct omap_abe *abe)
omap_abe_reset_port(i);
/* mixers' configuration */
omap_abe_write_mixer(abe, MIXDL1, MUTE_GAIN,
- RAMP_100MS, MIX_DL1_INPUT_MM_DL);
+ RAMP_5MS, MIX_DL1_INPUT_MM_DL);
omap_abe_write_mixer(abe, MIXDL1, MUTE_GAIN,
- RAMP_100MS, MIX_DL1_INPUT_MM_UL2);
+ RAMP_5MS, MIX_DL1_INPUT_MM_UL2);
omap_abe_write_mixer(abe, MIXDL1, MUTE_GAIN,
- RAMP_100MS, MIX_DL1_INPUT_VX_DL);
+ RAMP_5MS, MIX_DL1_INPUT_VX_DL);
omap_abe_write_mixer(abe, MIXDL1, MUTE_GAIN,
- RAMP_100MS, MIX_DL1_INPUT_TONES);
+ RAMP_5MS, MIX_DL1_INPUT_TONES);
omap_abe_write_mixer(abe, MIXDL2, MUTE_GAIN,
- RAMP_100MS, MIX_DL2_INPUT_TONES);
+ RAMP_5MS, MIX_DL2_INPUT_TONES);
omap_abe_write_mixer(abe, MIXDL2, MUTE_GAIN,
- RAMP_100MS, MIX_DL2_INPUT_VX_DL);
+ RAMP_5MS, MIX_DL2_INPUT_VX_DL);
omap_abe_write_mixer(abe, MIXDL2, MUTE_GAIN,
- RAMP_100MS, MIX_DL2_INPUT_MM_DL);
+ RAMP_5MS, MIX_DL2_INPUT_MM_DL);
omap_abe_write_mixer(abe, MIXDL2, MUTE_GAIN,
- RAMP_100MS, MIX_DL2_INPUT_MM_UL2);
+ RAMP_5MS, MIX_DL2_INPUT_MM_UL2);
omap_abe_write_mixer(abe, MIXSDT, MUTE_GAIN,
- RAMP_100MS, MIX_SDT_INPUT_UP_MIXER);
+ RAMP_5MS, MIX_SDT_INPUT_UP_MIXER);
omap_abe_write_mixer(abe, MIXSDT, GAIN_0dB,
- RAMP_100MS, MIX_SDT_INPUT_DL1_MIXER);
+ RAMP_5MS, MIX_SDT_INPUT_DL1_MIXER);
omap_abe_write_mixer(abe, MIXECHO, MUTE_GAIN,
- RAMP_100MS, MIX_ECHO_DL1);
+ RAMP_5MS, MIX_ECHO_DL1);
omap_abe_write_mixer(abe, MIXECHO, MUTE_GAIN,
- RAMP_100MS, MIX_ECHO_DL2);
+ RAMP_5MS, MIX_ECHO_DL2);
omap_abe_write_mixer(abe, MIXAUDUL, MUTE_GAIN,
- RAMP_100MS, MIX_AUDUL_INPUT_MM_DL);
+ RAMP_5MS, MIX_AUDUL_INPUT_MM_DL);
omap_abe_write_mixer(abe, MIXAUDUL, MUTE_GAIN,
- RAMP_100MS, MIX_AUDUL_INPUT_TONES);
+ RAMP_5MS, MIX_AUDUL_INPUT_TONES);
omap_abe_write_mixer(abe, MIXAUDUL, GAIN_0dB,
- RAMP_100MS, MIX_AUDUL_INPUT_UPLINK);
+ RAMP_5MS, MIX_AUDUL_INPUT_UPLINK);
omap_abe_write_mixer(abe, MIXAUDUL, MUTE_GAIN,
- RAMP_100MS, MIX_AUDUL_INPUT_VX_DL);
+ RAMP_5MS, MIX_AUDUL_INPUT_VX_DL);
omap_abe_write_mixer(abe, MIXVXREC, MUTE_GAIN,
- RAMP_100MS, MIX_VXREC_INPUT_TONES);
+ RAMP_5MS, MIX_VXREC_INPUT_TONES);
omap_abe_write_mixer(abe, MIXVXREC, MUTE_GAIN,
- RAMP_100MS, MIX_VXREC_INPUT_VX_DL);
+ RAMP_5MS, MIX_VXREC_INPUT_VX_DL);
omap_abe_write_mixer(abe, MIXVXREC, MUTE_GAIN,
- RAMP_100MS, MIX_VXREC_INPUT_MM_DL);
+ RAMP_5MS, MIX_VXREC_INPUT_MM_DL);
omap_abe_write_mixer(abe, MIXVXREC, MUTE_GAIN,
- RAMP_100MS, MIX_VXREC_INPUT_VX_UL);
+ RAMP_5MS, MIX_VXREC_INPUT_VX_UL);
omap_abe_write_gain(abe, GAINS_DMIC1, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DMIC1, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_DMIC2, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DMIC2, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_DMIC3, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DMIC3, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_AMIC, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_AMIC, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_SPLIT, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_SPLIT, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL1, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL1, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL2, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_DL2, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
omap_abe_write_gain(abe, GAINS_BTUL, GAIN_0dB,
- RAMP_100MS, GAIN_LEFT_OFFSET);
+ RAMP_5MS, GAIN_LEFT_OFFSET);
omap_abe_write_gain(abe, GAINS_BTUL, GAIN_0dB,
- RAMP_100MS, GAIN_RIGHT_OFFSET);
+ RAMP_5MS, GAIN_RIGHT_OFFSET);
}