]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 24 Apr 2022 10:24:28 +0000 (19:24 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Apr 2022 06:03:49 +0000 (08:03 +0200)
commit9ead7a627db1e594b66cfc283cf9705bf6945e82
tree464601a79e4a24b9db845ce3054a8f92c1947b97
parent3464c01f122d0e6962b4c4e6f122fa339f19eeb1
ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes

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: 48c03cd10268 ("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>
sound/firewire/fireworks/fireworks_hwdep.c