projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a4018
)
ASoC: tas5086: Use modern ASoC DAI format terminology
author
Mark Brown
<broonie@kernel.org>
Thu, 2 Jun 2022 13:53:05 +0000
(15:53 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 6 Jun 2022 12:09:09 +0000
(13:09 +0100)
As part of moving to remove the old style defines for the bus clocks update
the tas5086 driver to use more modern terminology for clocking.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20220602135316.3554400-10-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5086.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas5086.c
b/sound/soc/codecs/tas5086.c
index 5c0df3cd48320deb56a2272fec5aa4e8367af301..05b57bb1aea04f3a571d5132290989a0c6bb959d 100644
(file)
--- a/
sound/soc/codecs/tas5086.c
+++ b/
sound/soc/codecs/tas5086.c
@@
-318,7
+318,7
@@
static int tas5086_set_dai_fmt(struct snd_soc_dai *codec_dai,
struct tas5086_private *priv = snd_soc_component_get_drvdata(component);
/* The TAS5086 can only be slave to all clocks */
- if ((format & SND_SOC_DAIFMT_
MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS
) {
+ if ((format & SND_SOC_DAIFMT_
CLOCK_PROVIDER_MASK) != SND_SOC_DAIFMT_CBC_CFC
) {
dev_err(component->dev, "Invalid clocking mode\n");
return -EINVAL;
}