diff options
author | Maxim Kochetkov <fido_max@inbox.ru> | 2023-06-22 17:20:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-22 23:31:25 +0100 |
commit | fb180283c00b435019bd9500ae027872da9faa3b (patch) | |
tree | 33cd9bb64b311e67a5ddb26bb178e9f2231dbe8f /sound/usb/clock.h | |
parent | 82f76ac26c601c5b0c0db7f69500efc42f2ee7ed (diff) | |
download | linux-stable-fb180283c00b435019bd9500ae027872da9faa3b.tar.gz linux-stable-fb180283c00b435019bd9500ae027872da9faa3b.tar.bz2 linux-stable-fb180283c00b435019bd9500ae027872da9faa3b.zip |
ASoC: codecs: max98090: Allow dsp_a mode
TDM mode for max98090 is dsp_a compatible with such limitations:
1) Up to four timeslots supported.
2) Only 16 bits timeslots supported.
3) Only 2 active timeslots (L/R) supported.
We want to setup TDM mode only when dsp_a mode is selected. So move
M98090_REG_TDM_FORMAT/M98090_REG_TDM_CONTROL registers setup from
max98090_set_tdm_slot() to the max98090_dai_set_fmt(). Also extend
max98090_set_tdm_slot() with all TDM limitations check.
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Link: https://lore.kernel.org/r/Message-Id: <20230622142038.63388-1-fido_max@inbox.ru>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/clock.h')
0 files changed, 0 insertions, 0 deletions