linux-stable/sound/firewire/fireworks
Takashi Sakamoto 0e03be0626 ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
commit eb9d84b0ff upstream.

ALSA fireworks driver has a bug in its initial state to return count
shorter than expected by 4 bytes to userspace applications when handling
response frame for Echo Audio Fireworks transaction. It's due to missing
addition of the size for the type of event in ALSA firewire stack.

Fixes: 555e8a8f7f ("ALSA: fireworks: Add command/response functionality into hwdep interface")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20220424102428.21109-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-12 12:20:23 +02:00
..
fireworks.c ALSA: fireworks: fix memory leak of response buffer at error path 2018-09-17 13:41:14 +02:00
fireworks.h sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
fireworks_command.c
fireworks_hwdep.c ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes 2022-05-12 12:20:23 +02:00
fireworks_midi.c
fireworks_pcm.c ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02:00
fireworks_proc.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
fireworks_stream.c
fireworks_transaction.c ALSA: firewire: Clean up a locking issue in copy_resp_to_buf() 2020-11-24 13:27:24 +01:00
Makefile