summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorHans de Goede2018-03-04 15:36:04 +0100
committerMark Brown2018-03-07 15:18:24 +0100
commit3fdae070e6fcd9f9ca0745fd69d40085625a45f5 (patch)
treeda51810ad3cf7966bab3180f9c4e713d34e6753b /sound
parentASoC: Intel: bytcr_rt5651: Configure PLL1 before using it (diff)
downloadkernel-qcow2-linux-3fdae070e6fcd9f9ca0745fd69d40085625a45f5.tar.gz
kernel-qcow2-linux-3fdae070e6fcd9f9ca0745fd69d40085625a45f5.tar.xz
kernel-qcow2-linux-3fdae070e6fcd9f9ca0745fd69d40085625a45f5.zip
ASoC: Intel: bytcr_rt5651: Drop snd_soc_dai_set_bclk_ratio() call
Drop the snd_soc_dai_set_bclk_ratio() call, the rt5651 dai does not have a set_bclk_ratio() op, so it is a nop (and returns -EINVAL). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/boards/bytcr_rt5651.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/intel/boards/bytcr_rt5651.c b/sound/soc/intel/boards/bytcr_rt5651.c
index af30c730f432..1c771930772d 100644
--- a/sound/soc/intel/boards/bytcr_rt5651.c
+++ b/sound/soc/intel/boards/bytcr_rt5651.c
@@ -284,8 +284,6 @@ static int byt_rt5651_aif1_hw_params(struct snd_pcm_substream *substream,
struct snd_soc_dai *codec_dai = rtd->codec_dai;
int rate = params_rate(params);
- snd_soc_dai_set_bclk_ratio(codec_dai, 50);
-
return byt_rt5651_prepare_and_enable_pll1(codec_dai, rate, 50);
}