summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_rt5639.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_rt5639.c')
-rw-r--r--sound/soc/tegra/tegra_rt5639.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sound/soc/tegra/tegra_rt5639.c b/sound/soc/tegra/tegra_rt5639.c
index ae16793491f5..f002c5bed286 100644
--- a/sound/soc/tegra/tegra_rt5639.c
+++ b/sound/soc/tegra/tegra_rt5639.c
@@ -312,12 +312,13 @@ static int tegra_rt5639_hw_params(struct snd_pcm_substream *substream,
}
}
- /*for 24 bit audio we support only S24_LE (S24_3LE is not supported)
- which is rendered on bus in 32 bits packet so consider as 32 bit
- depth in clock calculations, extra 4 is required by codec,
- God knows why ?*/
+ /*
+ * For 24 bit audio we support only S24_LE (S24_3LE is not supported)
+ * which is rendered on bus in 32 bits packet so consider as 32 bit
+ * depth in clock calculations
+ */
if (sample_size == 24)
- i2sclock = srate * params_channels(params) * 32 * 4;
+ i2sclock = srate * params_channels(params) * 32;
else
i2sclock = 0;