summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-06-13 14:42:33 +0300
committerMark Brown <broonie@kernel.org>2019-06-13 21:46:31 +0300
commit05113483fd300d7a4605a726770e7255e29f1ac7 (patch)
treeaa306a290f2b1c6c4816500b3f14ecb201245678
parentfc30f2adb621aa6d6c59f0276d06004dcb204a56 (diff)
downloadlinux-05113483fd300d7a4605a726770e7255e29f1ac7.tar.xz
ASoC: meson: axg-tdm: consistently use SND_SOC_DAIFMT defines
There a mix of SND_SOC_DAIFMT_ and SND_SOC_DAI_FORMAT_ in axg-tdm-interface.c. Even, if this is currently the same thing, lets use the same group consistently. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/meson/axg-tdm-interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/meson/axg-tdm-interface.c b/sound/soc/meson/axg-tdm-interface.c
index 585ce030b79b..d51f3344be7c 100644
--- a/sound/soc/meson/axg-tdm-interface.c
+++ b/sound/soc/meson/axg-tdm-interface.c
@@ -306,8 +306,8 @@ static int axg_tdm_iface_hw_params(struct snd_pcm_substream *substream,
}
break;
- case SND_SOC_DAI_FORMAT_DSP_A:
- case SND_SOC_DAI_FORMAT_DSP_B:
+ case SND_SOC_DAIFMT_DSP_A:
+ case SND_SOC_DAIFMT_DSP_B:
break;
default: