ALSA: firewire-lib: optimize packet flushing
authorClemens Ladisch <clemens@ladisch.de>
Sun, 13 May 2012 17:07:22 +0000 (19:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 May 2012 08:43:43 +0000 (10:43 +0200)
commit92b862c7d685f5971a954e6ded51891d4adc412b
tree2843d2093df1ad58fac3274e67b208b2827546cd
parente9148dddc3c7b6121300319c3e31f9380d459be8
ALSA: firewire-lib: optimize packet flushing

Trying to flush completed packets is pointless when the pointer
callback was called from the packet completion callback; avoid it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp.c
sound/firewire/amdtp.h