diff options
| author | Jerome Brunet <[email protected]> | 2019-05-06 11:58:13 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-05-08 17:15:38 +0900 |
| commit | 3fcf94ef4d418668fa66e33ce9aabb05689b55f6 (patch) | |
| tree | 21038f534001f7175475b5e2383eda5aeaf88f5d /tools/perf/scripts/python/syscall-counts.py | |
| parent | 900e5daf7034cf65ce4072b86f297c42f9042433 (diff) | |
ASoC: hdmi-codec: remove reference to the current substream
If the hdmi-codec is on a codec-to-codec link, the substream pointer
it receives is completely made up by snd_soc_dai_link_event().
The pointer will be different between startup() and shutdown().
The hdmi-codec complains when this happens even if it is not really a
problem. The current_substream pointer is not used for anything useful
apart from getting the exclusive ownership of the device.
Remove current_substream pointer and replace the exclusive locking
mechanism with a simple variable and some atomic operations.
Signed-off-by: Jerome Brunet <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions