aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2023-04-28 11:59:36 +0200
committerTakashi Iwai <[email protected]>2023-05-08 09:20:48 +0200
commit16cafbd97759ba66c79bdede4250074f026839f3 (patch)
tree35013060eda93c05dd9bf10c5011a4a3f1b0e595 /tools/perf/scripts/python/bin/stackcollapse-record
parentac9a78681b921877518763ba0e89202254349d1b (diff)
ALSA: emu10k1: remove pointless locks from timer code
Contrary to its name, reg_lock locks the emu data structure, not the registers. As the functions access only data which is set once at card initialization, there is no point in locking it. Actually locking the registers would be pointless as well, as snd_emu10k1_intr_{en,dis}able() does its own locking, and TIMER is accessed only in this one place. Locking snd_emu10k1_timer_{start,stop}() against each other also wouldn't buy us anything; the functions interleaving their I/O accesses wouldn't introduce new problems. Signed-off-by: Oswald Buddenhagen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions