OpenCloudOS-Kernel/sound/soc/mediatek/mt8192
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
..
Makefile ASoC: mediatek: mt8192: add machine driver with mt6359, rt1015 and rt5682 2020-11-04 17:51:52 +00:00
mt8192-afe-clk.c ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00
mt8192-afe-clk.h ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00
mt8192-afe-common.h ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00
mt8192-afe-control.c ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00
mt8192-afe-gpio.c ASoC: mediatek: mt8192: Make some symbols static 2020-11-05 14:52:32 +00:00
mt8192-afe-gpio.h ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00
mt8192-afe-pcm.c ASoC: mediatek: mt8192: Make some symbols static 2020-11-05 14:52:32 +00:00
mt8192-dai-adda.c ASoC: mediatek: mt8192: support adda in platform driver 2020-11-04 17:51:48 +00:00
mt8192-dai-i2s.c ASoC: mediatek: mt8192: Make some symbols static 2020-11-05 14:52:32 +00:00
mt8192-dai-pcm.c ASoC: mediatek: mt8192: support pcm in platform driver 2020-11-04 17:51:49 +00:00
mt8192-dai-tdm.c ASoC: mediatek: mt8192: support tdm in platform driver 2020-11-04 17:51:50 +00:00
mt8192-interconnection.h ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00
mt8192-mt6359-rt1015-rt5682.c ASoC: mediatek: mt8192-mt6359: add format constraints for RT5682 2021-01-25 12:53:44 +00:00
mt8192-reg.h ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00