linux-stable/sound/pci/emu10k1
Oswald Buddenhagen 107c893e0a ALSA: emu10k1: make E-MU FPGA writes potentially more reliable
[ Upstream commit 15c7e87aa8 ]

We did not delay after the second strobe signal, so another immediately
following access could potentially corrupt the written value.

This is a purely speculative fix with no supporting evidence, but after
taking out the spinlocks around the writes, it seems plausible that a
modern processor could be actually too fast. Also, it's just cleaner to
be consistent.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <20240428093716.3198666-7-oswald.buddenhagen@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:11:27 +02:00
..
Makefile
emu10k1.c ALSA: emu10k1: move the whole GPIO event handling to the workqueue 2024-05-17 12:02:03 +02:00
emu10k1_callback.c Revert "ALSA: emu10k1: fix synthesizer sample playback position and caching" 2024-04-10 16:36:00 +02:00
emu10k1_main.c ALSA: emu10k1: fix E-MU dock initialization 2024-05-17 12:02:03 +02:00
emu10k1_patch.c ALSA: pci/emu10k1: remove 'set but not used' warning 2020-07-07 12:09:45 +02:00
emu10k1_synth.c ALSA: emu10k1: remove superfluous IRQ enable state saving 2023-07-13 10:30:06 +02:00
emu10k1_synth_local.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emu10k1x.c ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error 2022-04-12 17:58:24 +02:00
emufx.c ALSA: Make control API taking controls_rwsem consistently 2023-07-20 10:05:19 +02:00
emumixer.c ALSA: emu10k1: Simplify with snd_ctl_find_id_mixer() 2023-07-21 09:10:40 +02:00
emumpu401.c ALSA: emu10k1: remove superfluous IRQ enable state saving 2023-07-13 10:30:06 +02:00
emupcm.c ALSA: emu10k1: rework copyright statements 2023-07-17 09:30:34 +02:00
emuproc.c ALSA: emu10k1: rework copyright statements 2023-07-17 09:30:34 +02:00
io.c ALSA: emu10k1: make E-MU FPGA writes potentially more reliable 2024-06-12 11:11:27 +02:00
irq.c ALSA: emu10k1: clean up driver status comments 2023-07-17 09:29:36 +02:00
memory.c Revert "ALSA: emu10k1 - delay the PCM interrupts (add pcm_irq_delay parameter)" 2023-05-18 07:29:41 +02:00
p16v.c ALSA: emu10k1: use more existing defines instead of open-coded numbers 2023-04-28 11:22:51 +02:00
p16v.h ALSA: emu10k1: clean up driver status comments 2023-07-17 09:29:36 +02:00
p17v.h ALSA: emu10k1: clean up driver status comments 2023-07-17 09:29:36 +02:00
timer.c ALSA: emu10k1: rework copyright statements 2023-07-17 09:30:34 +02:00
tina2.h ALSA: emu10k1: clean up driver status comments 2023-07-17 09:29:36 +02:00
voice.c ALSA: emu10k1: rework copyright statements 2023-07-17 09:30:34 +02:00