ALSA: firewire-lib, firewire-speakers: handle packet queueing errors
authorClemens Ladisch <clemens@ladisch.de>
Tue, 15 Mar 2011 06:57:24 +0000 (07:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Mar 2011 07:42:30 +0000 (08:42 +0100)
commitec00f5e444706cb1902731655f3dcd04fc3df7b0
treef4fea4c46fa68308f401579ba93dc2c575157ba7
parent5b2599a07eaee53d713fb68f5343eba88fa249c0
ALSA: firewire-lib, firewire-speakers: handle packet queueing errors

Add an AMDTP stream error state that occurs when we fail to queue
another packet.  In this case, the stream is stopped, and the error can
be reported when the application tries to restart the PCM stream.

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