diff options
author | Pierre-Louis Bossart <[email protected]> | 2020-03-30 11:06:02 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-30 18:22:37 +0100 |
commit | 1ba616bd1a6d5ebdb31ceaa9265b2a2bb670155b (patch) | |
tree | 0d58ad1076c2d171ba89d623c5b6a7283e94d72d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0ab070917afdc93670c2d0ea02ab6defb6246a7c (diff) |
ASoC: soc-dai: fix DAI startup/shutdown sequence
The addition of a single flag to track the DAI status prevents the DAI
startup sequence from being called on capture if the DAI is already
used for playback.
Fix by extending the existing code with one flag per direction.
Fixes: b56be800f1292 ("ASoC: soc-pcm: call snd_soc_dai_startup()/shutdown() once")
Reported-by: Amadeusz Sławiński <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Tested-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions