From d99c28330aff03036096fc200377fc1c80c61410 Mon Sep 17 00:00:00 2001 From: Gaurav Tendolkar Date: Thu, 19 Nov 2015 09:56:34 +0530 Subject: [PATCH] tegra-alt: sfc: enable 48KHz to 24 KHz conversion Added SFC RAM coefficients for 48KHz to 24 KHz conversion Bug 1684121 Change-Id: Ifc1f0689c0d21fcf197b384f032b50324c647c4b Signed-off-by: Gaurav Tendolkar Reviewed-on: http://git-master/r/834981 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mohan Kumar D Reviewed-by: Nitin Pai --- sound/soc/tegra-alt/tegra210_sfc_alt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/tegra-alt/tegra210_sfc_alt.c b/sound/soc/tegra-alt/tegra210_sfc_alt.c index cc3dff78..8209ab9f 100644 --- a/sound/soc/tegra-alt/tegra210_sfc_alt.c +++ b/sound/soc/tegra-alt/tegra210_sfc_alt.c @@ -196,6 +196,8 @@ static int tegra210_sfc_write_coeff_ram(struct tegra210_sfc *sfc) coeff_ram = coef_48to8; else if (sfc->srate_out == TEGRA210_SFC_FS16) coeff_ram = coef_48to16; + else if (sfc->srate_out == TEGRA210_SFC_FS24) + coeff_ram = coef_48to24; else if (sfc->srate_out == TEGRA210_SFC_FS44_1) coeff_ram = coef_48to44; else if (sfc->srate_out == TEGRA210_SFC_FS96)