projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7801a3
)
ASoC: ad1836: Update to modern clocking terminology
author
Mark Brown
<broonie@kernel.org>
Thu, 16 Sep 2021 14:21:25 +0000
(15:21 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Sep 2021 12:00:55 +0000
(13:00 +0100)
As part of moving to remove the old style defines for the bus clocks update
the ad1836 driver to use more modern terminology for clocking.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20210916142125.7226-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ad1836.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ad1836.c
b/sound/soc/codecs/ad1836.c
index 08a5651bed9f97a41ad5db021f05d8a8a8c64565..29e1689da67ff5b87609057c2b760b7d5330a727 100644
(file)
--- a/
sound/soc/codecs/ad1836.c
+++ b/
sound/soc/codecs/ad1836.c
@@
-148,9
+148,9
@@
static int ad1836_set_dai_fmt(struct snd_soc_dai *codec_dai,
return -EINVAL;
}
- switch (fmt & SND_SOC_DAIFMT_
MAST
ER_MASK) {
- /* ALCLK,ABCLK are both output, AD1836 can only be
mast
er */
- case SND_SOC_DAIFMT_CB
M_CFM
:
+ switch (fmt & SND_SOC_DAIFMT_
CLOCK_PROVID
ER_MASK) {
+ /* ALCLK,ABCLK are both output, AD1836 can only be
provid
er */
+ case SND_SOC_DAIFMT_CB
P_CFP
:
break;
default:
return -EINVAL;