Commit 84973249 authored by John Keeping's avatar John Keeping Committed by Takashi Iwai
Browse files

ALSA: serial-generic: remove shared static buffer



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: default avatarJohn Keeping <jkeeping@inmusicbrands.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c29287bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment