]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: axg-tdm-interface: fix link fmt setup
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 29 Jul 2020 15:44:53 +0000 (17:44 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jul 2020 18:44:59 +0000 (19:44 +0100)
commit492aaafa654118d3d0399585faa0c94dbdbd0771
treeed8775e9c3490311d66e1c996fe3b098b0413ed7
parent4fd3e49a6e67720deaf3541af74672bccc3bf7a0
ASoC: meson: axg-tdm-interface: fix link fmt setup

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: 644942f18184 ("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>
sound/soc/meson/axg-tdm-interface.c