| From 3978a839134c501cd4ae1a03ff4c2914bbd253ee Mon Sep 17 00:00:00 2001 |
| From: Jerome Brunet <jbrunet@baylibre.com> |
| Date: Thu, 13 Jun 2019 13:42:31 +0200 |
| Subject: [PATCH] ASoC: meson: axg-tdmout: right_j is not supported |
| |
| commit 7e0d7d0fbd06af0507611f85dba8daf24832abd9 upstream. |
| |
| Right justified format is actually not supported by the amlogic tdm output |
| encoder. |
| |
| Fixes: c41c2a355b86 ("ASoC: meson: add tdm output driver") |
| Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> |
| Signed-off-by: Mark Brown <broonie@kernel.org> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/sound/soc/meson/axg-tdmout.c b/sound/soc/meson/axg-tdmout.c |
| index 527bfc4487e0..86537fc0ecb5 100644 |
| --- a/sound/soc/meson/axg-tdmout.c |
| +++ b/sound/soc/meson/axg-tdmout.c |
| @@ -137,7 +137,6 @@ static int axg_tdmout_prepare(struct regmap *map, |
| break; |
| |
| case SND_SOC_DAIFMT_LEFT_J: |
| - case SND_SOC_DAIFMT_RIGHT_J: |
| case SND_SOC_DAIFMT_DSP_B: |
| skew += 1; |
| break; |
| -- |
| 2.27.0 |
| |