diff options
| author | Pierre-Louis Bossart <[email protected]> | 2020-09-02 21:21:16 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2020-09-03 07:24:33 +0000 |
| commit | 931522b90813a6f1c9c673ec9a0eb985b39554dc (patch) | |
| tree | fe2ef5ba513653532487f3454fe8dba6398033fc /sound/core/timer.c | |
| parent | ALSA: hda/ca0132 - Add AE-7 exit commands. (diff) | |
| download | kernel-931522b90813a6f1c9c673ec9a0eb985b39554dc.tar.gz kernel-931522b90813a6f1c9c673ec9a0eb985b39554dc.zip | |
ALSA: core: pcm: simplify locking for timers
Fix sparse warning:
sound/core/pcm.c:999:9: warning: context imbalance in
'snd_pcm_detach_substream' - different lock contexts for basic block
There's no real reason to test the same thing twice, and it's simpler
have linear sequences.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions
