diff options
author | Bard Liao <[email protected]> | 2023-12-04 15:42:00 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-12-04 21:46:12 +0000 |
commit | 70a6b66d6e8e70966274cab2fc9ee75fd60e36bf (patch) | |
tree | 98e8a9519e47f6c6cc9041fa7d66c600d458969a /tools/perf/scripts/python/task-analyzer.py | |
parent | e38e252dbceeef7d2f848017132efd68e9ae1416 (diff) |
ASoC: Intel: sof_sdw_rt_sdca_jack_common: check ctx->headset_codec_dev instead of playback
'if (!playback)' will not work if the dai is only on capture dai link
or is on more than one playback dai links. Check 'if
(ctx->headset_codec_dev)' instead.
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions