android_kernel_motorola_sm6225/sound/firewire/fireworks
Takashi Sakamoto 0e03be0626 ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
commit eb9d84b0ffe39893cb23b0b6712bbe3637fa25fa 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 ALSA: fireworks: use u32 type for be32_to_cpup() macro 2015-10-19 11:57:02 +02:00
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 ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
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 ALSA: fireworks: fix asymmetric API call at unit removal 2017-01-03 11:36:13 +01:00
fireworks_transaction.c ALSA: firewire: Clean up a locking issue in copy_resp_to_buf() 2020-11-24 13:27:24 +01:00
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00