diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-09-02 16:21:16 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-09-03 09:24:33 +0200 |
commit | 931522b90813a6f1c9c673ec9a0eb985b39554dc (patch) | |
tree | fe2ef5ba513653532487f3454fe8dba6398033fc /sound/core/memalloc.c | |
parent | 685a04a53747d07d22f5139c04ae35745200a91d (diff) | |
download | linux-931522b90813a6f1c9c673ec9a0eb985b39554dc.tar.gz linux-931522b90813a6f1c9c673ec9a0eb985b39554dc.tar.bz2 linux-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 <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200902212133.30964-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/memalloc.c')
0 files changed, 0 insertions, 0 deletions