linux/sound/drivers
John Keeping bfb9d87184 ALSA: serial-generic: remove shared static buffer
[ Upstream commit 8497324901 ]

If multiple instances of this driver are instantiated and try to send
concurrently then the single static buffer snd_serial_generic_tx_work()
will cause corruption in the data output.

Move the buffer into the per-instance driver data to avoid this.

Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-11-13 15:34:24 -05:00
..
mpu401 ALSA: mpu401_uart: Use standard print API 2024-08-08 07:47:22 +02:00
opl3 ALSA: opl3: Use standard print API 2024-08-08 07:47:22 +02:00
opl4 ALSA: opl4: Use standard print API 2024-08-08 07:47:23 +02:00
pcsp ALSA: pcsp: Use standard print API 2024-08-08 07:47:23 +02:00
vx ALSA: vx_core: Use standard print API 2024-08-08 07:47:23 +02:00
aloop.c ALSA: aloop: Allow using global timers 2024-08-18 09:55:54 +02:00
dummy.c ALSA: dummy: Use standard print API 2024-08-08 07:47:23 +02:00
Kconfig ALSA: Make SND_PCMTEST depend on DEBUG_FS 2023-08-18 09:10:22 +02:00
Makefile ALSA: drivers: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:57 +02:00
mtpav.c ALSA: mtpav: Use standard print API 2024-08-08 07:47:22 +02:00
mts64.c ALSA: mts64: Use standard print API 2024-08-08 07:47:22 +02:00
pcmtest.c ALSA: pcmtest: Add missing module descriptions 2024-05-09 10:13:07 +02:00
portman2x4.c ALSA: portman2x4: Use standard print API 2024-08-08 07:47:22 +02:00
serial-generic.c ALSA: serial-generic: remove shared static buffer 2025-11-13 15:34:24 -05:00
serial-u16550.c ALSA: serial-u16550: Use standard print API 2024-08-08 07:47:23 +02:00
virmidi.c ALSA: virmidi: Use standard print API 2024-08-08 07:47:23 +02:00