git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeec6cc
)
ASoC: Intel: bytcr_rt5651: Drop snd_soc_dai_set_bclk_ratio() call
author
Hans de Goede
<hdegoede@redhat.com>
Sun, 4 Mar 2018 14:36:04 +0000
(15:36 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 7 Mar 2018 14:18:24 +0000
(14:18 +0000)
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>
sound/soc/intel/boards/bytcr_rt5651.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/boards/bytcr_rt5651.c
b/sound/soc/intel/boards/bytcr_rt5651.c
index af30c730f4326e8ee6b2b901b3261c0ec3976370..1c771930772d9bd820bcfd714354f140f2e8b83c 100644
(file)
--- 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);
}