ASoC: meson: axg-tdm: consistently use SND_SOC_DAIFMT defines
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 13 Jun 2019 11:42:33 +0000 (13:42 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 13 Jun 2019 18:46:31 +0000 (19:46 +0100)
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>
sound/soc/meson/axg-tdm-interface.c

index 585ce030b79b65aa53cd4f4b39c0d2edb17d2287..d51f3344be7c6cd9076348e10e7ccb0df72a15d1 100644 (file)
@@ -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: