linux_dsm_epyc7002/sound/soc/meson
Jerome Brunet cb36ff785e
ASoC: meson: axg-tdm: fix sample clock inversion
The content of SND_SOC_DAIFMT_FORMAT_MASK is a number, not a bitfield,
so the test to check if the format is i2s is wrong. Because of this the
clock setting may be wrong. For example, the sample clock gets inverted
in DSP B mode, when it should not.

Fix the lrclk invert helper function

Fixes: 1a11d88f49 ("ASoC: meson: add tdm formatter base driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-06-13 19:44:02 +01:00
..
axg-card.c ASoC: add for_each_card_prelinks() macro 2018-09-20 10:18:34 -07:00
axg-fifo.c ASoC: meson: axg-fifo: add g12a support 2019-04-05 09:25:33 +07:00
axg-fifo.h ASoC: meson: axg-fifo: add g12a support 2019-04-05 09:25:33 +07:00
axg-frddr.c ASoC: meson: axg-frddr: add g12a support 2019-04-05 09:26:18 +07:00
axg-pdm.c ASoC: meson: add axg pdm input 2018-08-29 16:04:17 +01:00
axg-spdifin.c ASoC: meson: fix do_div warning in spdifin 2018-12-13 16:20:28 +00:00
axg-spdifout.c ASoC: meson: add axg spdif output 2018-07-18 13:08:39 +01:00
axg-tdm-formatter.c ASoC: meson: axg-tdm-formatter: rework quirks settings 2019-04-05 09:26:39 +07:00
axg-tdm-formatter.h ASoC: meson: axg-tdm-formatter: rework quirks settings 2019-04-05 09:26:39 +07:00
axg-tdm-interface.c ASoC: meson: axg-tdm: restrict formats depending on slot width 2018-08-28 19:53:35 +01:00
axg-tdm.h ASoC: meson: axg-tdm: fix sample clock inversion 2019-06-13 19:44:02 +01:00
axg-tdmin.c ASoC: meson: axg-tdmin: right_j is not supported 2019-06-13 19:43:09 +01:00
axg-tdmout.c ASoC: meson: axg-tdmout: right_j is not supported 2019-06-13 19:43:40 +01:00
axg-toddr.c ASoC: meson: axg-toddr: add g12a support 2019-04-05 09:25:57 +07:00
Kconfig ASoC: meson: add axg spdif input 2018-12-13 12:06:32 +00:00
Makefile ASoC: meson: add axg spdif input 2018-12-13 12:06:32 +00:00