diff options
author | Mark Brown <[email protected]> | 2022-06-02 15:53:09 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 13:09:13 +0100 |
commit | ad60ff09801fa1841dcdcf1f6ad1fa0e09ad0693 (patch) | |
tree | d828afbbd2bf92b2bde0c12ca8e6cfbabb34d6e0 | |
parent | 5fc4ed4bda465fb826bea7c6a7b15657154787ce (diff) |
ASoC: tlv320adc3xxx: Use modern ASoC DAI format terminology
As part of moving to remove the old style defines for the bus clocks update
the tlv320aic3xxx driver to use more modern terminology for clocking.
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/codecs/tlv320adc3xxx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320adc3xxx.c b/sound/soc/codecs/tlv320adc3xxx.c index 82532ad00c3c..748998e48af9 100644 --- a/sound/soc/codecs/tlv320adc3xxx.c +++ b/sound/soc/codecs/tlv320adc3xxx.c @@ -1252,8 +1252,7 @@ static int adc3xxx_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) int master = 0; int ret; - /* set master/slave audio interface */ - switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { + switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { case SND_SOC_DAIFMT_CBP_CFP: master = 1; clkdir = ADC3XXX_BCLK_MASTER | ADC3XXX_WCLK_MASTER; |