]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: mediatek: mt8192: change mclk_multiple of TDM from 128 to 512
authorTzung-Bi Shih <tzungbi@google.com>
Wed, 20 Jan 2021 08:08:48 +0000 (16:08 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 20 Jan 2021 18:46:50 +0000 (18:46 +0000)
commitdf369921d726410a093de48d33e605fd4e0ee33c
tree3636f190e2764cde23a0dfc1ec110f080550cca5
parent12295ef97078db19683d8c0a23abc6f633ef0e23
ASoC: mediatek: mt8192: change mclk_multiple of TDM from 128 to 512

mclk = rate * mclk_multiple
bclk = rate * channel * sample_width

If TDM outputs 8 channels and 32 bits, bclk will be greater than mclk.

Changes the ratio from 128 to 512.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20210120080850.699354-4-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c