diff options
author | Peter Ujfalusi <[email protected]> | 2023-05-12 14:03:17 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-05-15 10:21:12 +0900 |
commit | 4708449eafe60742334606168926985798c9c9b8 (patch) | |
tree | 17919033d07d2788f5a425f82c052f351937dc07 /scripts/generate_rust_analyzer.py | |
parent | f63550e2b165208a2f382afcaf5551df9569e1d4 (diff) |
ASoC: SOF: ipc3-topology: Make sure that only one cmd is sent in dai_config
The commands in sof_ipc_dai_config.flags are encoded as bits:
1 (bit0) - hw_params
2 (bit1) - hw_free
4 (bit2) - pause
These are commands, they cannot be combined as one would assume, for
example
3 (bit0 | bit1) is invalid.
This can happen right at the second start of a stream as at the end of the
first stream we set the hw_free command (bit1) and on the second start we
would OR on top of it the hw_params (bit0).
Fixes: b66bfc3a9810 ("ASoC: SOF: sof-audio: Fix broken early bclk feature for SSP")
Signed-off-by: Peter Ujfalusi <[email protected]
Reviewed-by: Daniel Baluta <[email protected]
Reviewed-by: Bard Liao <[email protected]
Reviewed-by: Ranjani Sridharan <[email protected]
Reviewed-by: Pierre-Louis Bossart <[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions