diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2021-02-16 14:42:21 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 12:48:30 +0000 |
commit | 87263968516fb9507d6215d53f44052627fae8d8 (patch) | |
tree | a723cfb2ecfaa9492d3ffe5cc280bcb95d4f717b /block/bounce.c | |
parent | 0c0a5883783540a56e6a5dbf5868f045dbeaa888 (diff) |
ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
When using the driver in I2S TDM mode, the _fsl_ssi_set_dai_fmt()
function rewrites the number of slots previously set by the
fsl_ssi_set_dai_tdm_slot() function to 2 by default.
To fix this, let's use the saved slot count value or, if TDM
is not used and the slot count is not set, proceed as before.
Fixes: 4f14f5c11db1 ("ASoC: fsl_ssi: Fix number of words per frame for I2S-slave mode")
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/20210216114221.26635-1-shc_work@mail.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions