diff options
| author | Alexander Shiyan <shc_work@mail.ru> | 2021-02-16 14:42:21 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-02-23 13:45:08 +0000 |
| commit | 9fd914d917da05641b42cab7d40bdf8ab06dac3b (patch) | |
| tree | 5217c46c315bae0a239c11d94c747014cb811781 /tools/perf/scripts/python/flamegraph.py | |
| parent | 2d003ec15396cc8ffa2a887605c98a967de3078d (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 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
