diff options
author | Daiane Angolini <daiane.angolini@foundries.io> | 2022-11-06 13:04:07 -0300 |
---|---|---|
committer | Daiane Angolini <daiane.angolini@foundries.io> | 2022-11-06 13:04:07 -0300 |
commit | 5abdee26320fc69a8a445cc5944f6792648d2714 (patch) | |
tree | 51f3026370ba01cdf601e2cbed9db124daa3d801 /sound | |
parent | 6da679049e7f2914c9c9d26cb296fa11d751d0e5 (diff) |
Revert "ASoC: imx-card: Fix DSD/PDM mclk frequency"
This reverts commit fd3adcb84f7f378e0a0ab885a4139a158fce9176.
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-card.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sound/soc/fsl/imx-card.c b/sound/soc/fsl/imx-card.c index da48eff86287..c494bed8f98e 100644 --- a/sound/soc/fsl/imx-card.c +++ b/sound/soc/fsl/imx-card.c @@ -354,12 +354,8 @@ static int imx_aif_hw_params(struct snd_pcm_substream *substream, else mclk_freq = params_rate(params) * slots * slot_width; /* Use the maximum freq from DSD512 (512*44100 = 22579200) */ - if (format_is_dsd(params)) { - if (params_rate(params) % 11025 == 0) - mclk_freq = 22579200; - else - mclk_freq = 24576000; - } + if (format_is_dsd(params)) + mclk_freq = 22579200; ret = snd_soc_dai_set_sysclk(cpu_dai, link_data->cpu_sysclk_id, mclk_freq, SND_SOC_CLOCK_OUT); |