summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/bytcht_nocodec.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-05-19 18:42:33 +0300
committerMark Brown <broonie@kernel.org>2022-06-06 14:33:36 +0300
commitadd9ee8c64c617f561a309cdda50104e9e2c12f6 (patch)
tree2f2ad2cf699b6fffecb01c801f1039fa6f556c62 /sound/soc/intel/boards/bytcht_nocodec.c
parented2b384082a678a0c4c8c56deff9e5f46d5e3fca (diff)
downloadlinux-add9ee8c64c617f561a309cdda50104e9e2c12f6.tar.xz
ASoC: Intel: Update to use set_fmt_new callback
As part of updating the core to directly tell drivers if they are clock provider or consumer update these CPU side drivers to use the new direct callback. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220519154318.2153729-12-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/bytcht_nocodec.c')
-rw-r--r--sound/soc/intel/boards/bytcht_nocodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bytcht_nocodec.c b/sound/soc/intel/boards/bytcht_nocodec.c
index 115c2bcaabd4..7fc03f2efd35 100644
--- a/sound/soc/intel/boards/bytcht_nocodec.c
+++ b/sound/soc/intel/boards/bytcht_nocodec.c
@@ -61,7 +61,7 @@ static int codec_fixup(struct snd_soc_pcm_runtime *rtd,
ret = snd_soc_dai_set_fmt(asoc_rtd_to_cpu(rtd, 0),
SND_SOC_DAIFMT_I2S |
SND_SOC_DAIFMT_NB_NF |
- SND_SOC_DAIFMT_CBC_CFC);
+ SND_SOC_DAIFMT_BP_FP);
if (ret < 0) {
dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret);