]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 May 2021 12:56:52 +0000 (21:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 May 2021 07:41:26 +0000 (09:41 +0200)
commit814b43127f4ac69332e809152e30773941438aff
tree3ae263461df759403263a8d3238b910731f85dbe
parent1be4f21d9984fa9835fae5411a29465dc5aece6f
ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field

The snd_firewire_lib:amdtp_packet tracepoints event includes index of
packet processed in a context handling. However in IR context, it is not
calculated as expected.

Cc: <stable@vger.kernel.org>
Fixes: 753e717986c2 ("ALSA: firewire-lib: use packet descriptor for IR context")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210513125652.110249-6-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream-trace.h
sound/firewire/amdtp-stream.c