summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom/sc7180.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-05-19 16:42:39 +0100
committerMark Brown <broonie@kernel.org>2022-06-06 12:33:42 +0100
commit1148e16b335f341f36475b646c692b4a71a1855e (patch)
tree458041be86a253fea51dd9eca48b16c23a99b415 /sound/soc/qcom/sc7180.c
parent84c5b47c8ce4d5059d5e7539d3b44922cc0390e9 (diff)
downloadlinux-stable-1148e16b335f341f36475b646c692b4a71a1855e.tar.gz
linux-stable-1148e16b335f341f36475b646c692b4a71a1855e.tar.bz2
linux-stable-1148e16b335f341f36475b646c692b4a71a1855e.zip
ASoC: qcom: 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-18-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/sc7180.c')
-rw-r--r--sound/soc/qcom/sc7180.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c
index efccb5c0b3e0..f5f7c64b23a2 100644
--- a/sound/soc/qcom/sc7180.c
+++ b/sound/soc/qcom/sc7180.c
@@ -155,7 +155,7 @@ static int sc7180_snd_startup(struct snd_pcm_substream *substream)
}
snd_soc_dai_set_fmt(codec_dai,
- SND_SOC_DAIFMT_CBS_CFS |
+ SND_SOC_DAIFMT_BC_FC |
SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_I2S);