summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2020-12-24 11:18:54 +0100
committerMark Brown <broonie@kernel.org>2021-01-05 15:34:18 +0100
commit81a6320da73ca23f44155715ec3d9e92bea4e35a (patch)
treeb4f1a2c4d35cbc067983534cd1281fda829c4dfa /sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
parentASoC: rt1015: re-calibrate again when resuming (diff)
downloadlinux-81a6320da73ca23f44155715ec3d9e92bea4e35a.tar.xz
linux-81a6320da73ca23f44155715ec3d9e92bea4e35a.zip
ASoC: rt1015: remove bclk_ratio
bclk_ratio is unused. Removes bclk_ratio and .set_bclk_ratio callback. Removes snd_soc_dai_set_bclk_ratio() in a few machine drivers which are obviously using rt1015. Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20201224101854.3024823-1-tzungbi@google.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c')
-rw-r--r--sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
index 716fbb4126b5..a988ce1e58de 100644
--- a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
+++ b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
@@ -46,12 +46,6 @@ static int mt8192_rt1015_i2s_hw_params(struct snd_pcm_substream *substream,
int ret, i;
for_each_rtd_codec_dais(rtd, i, codec_dai) {
- ret = snd_soc_dai_set_bclk_ratio(codec_dai, 64);
- if (ret) {
- dev_err(card->dev, "failed to set bclk ratio\n");
- return ret;
- }
-
ret = snd_soc_dai_set_pll(codec_dai, 0,
RT1015_PLL_S_BCLK,
params_rate(params) * 64,