OSDN Git Service

ALSA: firewire-lib: fix data block counter for incoming packet without CIP header
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 24 May 2019 09:03:39 +0000 (18:03 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 May 2019 09:18:01 +0000 (11:18 +0200)
commit3c194923154132836d143d9ba37f5ee94d790c75
treeb619bef30ffcd0d353c4ee66cedf55e589e186f7
parentb18f0cfaf16bee36bc4d3cab6771c7d74ed472ac
ALSA: firewire-lib: fix data block counter for incoming packet without CIP header

The value of data block counter is not calculated for incoming packet
without CIP header. This commit fixes the bug.

Fixes: 947b437e1263 ("ALSA: firewire-lib: unify packet handler for IR context")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c