OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b0a5d8
)
ASoC: ak4104: Update to modern clocking terminology
author
Mark Brown
<broonie@kernel.org>
Thu, 16 Sep 2021 15:09:22 +0000
(16:09 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Sep 2021 12:00:48 +0000
(13:00 +0100)
As part of moving to remove the old style defines for the bus clocks update
the ak4104 driver to use more modern terminology for clocking.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20210916150922.20183-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4104.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ak4104.c
b/sound/soc/codecs/ak4104.c
index
979cfb1
..
dc4747c
100644
(file)
--- a/
sound/soc/codecs/ak4104.c
+++ b/
sound/soc/codecs/ak4104.c
@@
-81,8
+81,8
@@
static int ak4104_set_dai_fmt(struct snd_soc_dai *codec_dai,
return -EINVAL;
}
- /* This device can only be
slave
*/
- if ((format & SND_SOC_DAIFMT_
MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS
)
+ /* This device can only be
consumer
*/
+ if ((format & SND_SOC_DAIFMT_
CLOCK_PROVIDER_MASK) != SND_SOC_DAIFMT_CBC_CFC
)
return -EINVAL;
ret = regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1,