android_kernel_xiaomi_sm7250/sound/soc/meson
Jerome Brunet 62b15380d0 ASoC: meson: axg-tdm-interface: fix link fmt setup
[ Upstream commit 6878ba91ce84f7a07887a0615af70f969508839f ]

The .set_fmt() callback of the axg tdm interface incorrectly
test the content of SND_SOC_DAIFMT_MASTER_MASK as if it was a
bitfield, which it is not.

Implement the test correctly.

Fixes: d60e4f1e4b ("ASoC: meson: add tdm interface driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200729154456.1983396-2-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:15:01 +02:00
..
axg-card.c
axg-fifo.c
axg-fifo.h
axg-frddr.c
axg-spdifout.c
axg-tdm-formatter.c
axg-tdm-formatter.h
axg-tdm-interface.c
axg-tdm.h
axg-tdmin.c
axg-tdmout.c
axg-toddr.c
Kconfig
Makefile