From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 0/6] ALSA: firewire-lib: unify handlers for incoming packet Date: Thu, 23 May 2019 12:20:51 +0200 Message-ID: References: <20190522141708.29159-1-o-takashi@sakamocchi.jp> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 880F9F8079B for ; Thu, 23 May 2019 12:20:52 +0200 (CEST) In-Reply-To: <20190522141708.29159-1-o-takashi@sakamocchi.jp> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Takashi Sakamoto Cc: alsa-devel@alsa-project.org, clemens@ladisch.de List-Id: alsa-devel@alsa-project.org On Wed, 22 May 2019 16:17:02 +0200, Takashi Sakamoto wrote: > > 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 Applied all six patches now. Thanks. Takashi