projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5c399
)
ASoC: tas5720: Use modern ASoC DAI format terminology
author
Mark Brown
<broonie@kernel.org>
Thu, 2 Jun 2022 13:53:06 +0000
(15:53 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 6 Jun 2022 12:09:10 +0000
(13:09 +0100)
As part of moving to remove the old style defines for the bus clocks update
the tas5720 driver to use more modern terminology for clocking.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20220602135316.3554400-11-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5720.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas5720.c
b/sound/soc/codecs/tas5720.c
index 17034abef5689f2b338398220e627e9dfc314b84..2ee06a95f3e4f67d6b324a6683acce08dc6cc1a2 100644
(file)
--- a/
sound/soc/codecs/tas5720.c
+++ b/
sound/soc/codecs/tas5720.c
@@
-89,8
+89,8
@@
static int tas5720_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
u8 serial_format;
int ret;
- if ((fmt & SND_SOC_DAIFMT_
MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS
) {
- dev_vdbg(component->dev, "DAI
Format master is not foun
d\n");
+ if ((fmt & SND_SOC_DAIFMT_
CLOCK_PROVIDER_MASK) != SND_SOC_DAIFMT_CBC_CFC
) {
+ dev_vdbg(component->dev, "DAI
clocking invali
d\n");
return -EINVAL;
}