ALSA: firewire-lib: refactoring to obsolete IR packet handler
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 24 May 2019 09:03:42 +0000 (18:03 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 May 2019 09:18:03 +0000 (11:18 +0200)
commit98e3e43b599d742c104864c6772a251025ffb52b
tree1393bcc5c4e35c8a7a9639b67c85658318a465f4
parent6bc1a2699b79d7449de3bdd9cfe704e5d698acff
ALSA: firewire-lib: refactoring to obsolete IR packet handler

As a result of heavy refactoring based on IR context header, the packet
handler becomes simpler.

This commit merges the packet handler into function for IR context
callback. The logic to parse IR context header and tracepoints event is
split to a function.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c