[alsa-devel] [PATCH 0/6] ALSA: firewire-lib: unify handlers for incoming packet

Takashi Sakamoto o-takashi at sakamocchi.jp
Wed May 22 16:17:02 CEST 2019


Hi,

In IR context of Linux FireWire subsystem, some quadlets of packet
payload can be handled as a part of context header. As a result context
payload can just include the rest of packet payload.

This patchset uses the mechanism to unify handlers of incoming packet
for with-CIP and without-CIP headers.

Takashi Sakamoto (6):
  ALSA: firewire-lib: use clear name for variable of CIP header
  ALSA: firewire-lib: calculate the length of packet payload in packet
    handler
  ALSA: firewire-lib: compute pointer to payload buffer in context
    handler
  ALSA: firewire-lib: split helper function to check incoming CIP header
  ALSA: firewire-lib: use 16 bytes IR context header to separate CIP
    header
  ALSA: firewire-lib: unify packet handler for IR context

 sound/firewire/amdtp-stream.c | 180 ++++++++++++++++++----------------
 sound/firewire/amdtp-stream.h |   8 +-
 2 files changed, 97 insertions(+), 91 deletions(-)

-- 
2.20.1



More information about the Alsa-devel mailing list