diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2008-11-14 17:47:35 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-16 09:01:26 +0100 |
commit | 2bdba316c989da028a59becf7516c6350ce3c173 (patch) | |
tree | 18ee77474c243ebea424b0bdb3e38c444f6f0e0b /include/sound/mpu401.h | |
parent | 954e100d2275cb2f150f2b18d5cddcdf67b956ac (diff) |
markers: fix unregister
Impact: fix marker registers/unregister race
get_marker() can return a NULL entry because the mutex is released in
the middle of those functions. Make sure we check to see if it has been
concurrently removed.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/sound/mpu401.h')
0 files changed, 0 insertions, 0 deletions