linux-sg2042/sound/soc/mediatek
Tzung-Bi Shih 339f6c73d5
ASoC: mediatek: mt8192-mt6359: add format constraints for RT5682
MT8192 determines the I2S clock rates according to the sampling rates.

There is only 1 set of I2S in between MT8192 and RT5682.  If playing and
capturing via RT5682 in different sampling rates, the I2S data will be
corrupted.

Adds format constraints to the corresponding DAI links to make sure the
sampling rates are symmetric.

Fixes: 18b13ff23f ("ASoC: mediatek: mt8192: add machine driver with mt6359, rt1015 and rt5682")
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20210125061453.1056535-1-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-25 12:53:44 +00:00
..
common Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.11 2020-11-30 16:05:07 +00:00
mt2701 ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mt6797 ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mt8173 ASoC: hdmi-codec: Use set_jack ops to set jack 2020-09-22 12:48:03 +01:00
mt8183 ASoC: mediatek: mt8183-da7219: ignore TDM DAI link by default 2021-01-20 18:45:34 +00:00
mt8192 ASoC: mediatek: mt8192-mt6359: add format constraints for RT5682 2021-01-25 12:53:44 +00:00
Kconfig ASoC: mediatek: mt8192: support rt1015p_rt5682 2020-12-02 13:35:28 +00:00
Makefile ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00