diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2020-12-24 18:18:54 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-05 14:34:18 +0000 |
commit | 81a6320da73ca23f44155715ec3d9e92bea4e35a (patch) | |
tree | b4f1a2c4d35cbc067983534cd1281fda829c4dfa /sound/soc/amd | |
parent | d750570e048165c54a99703729438b2a4ccf379b (diff) |
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/amd')
-rw-r--r-- | sound/soc/amd/acp3x-rt5682-max9836.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/amd/acp3x-rt5682-max9836.c b/sound/soc/amd/acp3x-rt5682-max9836.c index 1a4e8ca0f99c..cea320ad0e1c 100644 --- a/sound/soc/amd/acp3x-rt5682-max9836.c +++ b/sound/soc/amd/acp3x-rt5682-max9836.c @@ -140,9 +140,7 @@ static int acp3x_1015_hw_params(struct snd_pcm_substream *substream, for_each_rtd_codec_dais(rtd, i, codec_dai) { if (strcmp(codec_dai->name, "rt1015-aif")) continue; - ret = snd_soc_dai_set_bclk_ratio(codec_dai, 64); - if (ret < 0) - return ret; + ret = snd_soc_dai_set_pll(codec_dai, 0, RT1015_PLL_S_BCLK, 64 * srate, 256 * srate); if (ret < 0) |