projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dcef17
)
ASoC: max9860: Use modern ASoC DAI format terminology
author
Mark Brown
<broonie@kernel.org>
Tue, 22 Feb 2022 23:40:22 +0000
(23:40 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 28 Feb 2022 13:34:10 +0000
(13:34 +0000)
As part of moving to remove the old style defines for the bus clocks update
the max9860 driver to use more modern terminology for clocking.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20220222234026.712070-6-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9860.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max9860.c
b/sound/soc/codecs/max9860.c
index 7c9686be59d99dda20d072be212cc3bcf090f29b..82f20a8e27ad5fd8d9fd4e733b84306cf2d21b94 100644
(file)
--- a/
sound/soc/codecs/max9860.c
+++ b/
sound/soc/codecs/max9860.c
@@
-268,11
+268,11
@@
static int max9860_hw_params(struct snd_pcm_substream *substream,
if (params_channels(params) == 2)
ifc1b |= MAX9860_ST;
- switch (max9860->fmt & SND_SOC_DAIFMT_
MAST
ER_MASK) {
- case SND_SOC_DAIFMT_CB
S_CFS
:
+ switch (max9860->fmt & SND_SOC_DAIFMT_
CLOCK_PROVID
ER_MASK) {
+ case SND_SOC_DAIFMT_CB
C_CFC
:
master = 0;
break;
- case SND_SOC_DAIFMT_CB
M_CFM
:
+ case SND_SOC_DAIFMT_CB
P_CFP
:
master = MAX9860_MASTER;
break;
default: