diff options
author | Peter Suti <peter.suti@streamunlimited.com> | 2023-07-13 11:52:58 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-25 12:11:49 +0100 |
commit | 4005d1ba0a7e5cf32f669bf0014dca0dd12c2a44 (patch) | |
tree | 86792e90d4132f83c9325ef4d96f98fc7b68730e /sound/sparc | |
parent | 85d12eda2382cd5b93eed720b5a08f39d42cfef4 (diff) |
ASoC: soc-dai: don't call PCM audio ops if the stream is not supported
PCM audio ops may be called when the stream is not supported.
We should not call the ops in that case to avoid unexpected behavior.
hw_params is handled already in soc-pcm.c
[0] https://lore.kernel.org/alsa-devel/ae06b00a-f3f7-f9d1-0b58-4d71f3394416@linux.intel.com/T/#t
Signed-off-by: Peter Suti <peter.suti@streamunlimited.com>
Link: https://lore.kernel.org/r/20230713095258.3393827-1-peter.suti@streamunlimited.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions