ALSA: firewire-lib: replace ack callback to flush isoc contexts in AMDTP domain
[sfrench/cifs-2.6.git] / sound / firewire / oxfw / oxfw-pcm.c
index 3be35dfcf270bdd2b19bc3945258411c051be23e..74bd1811cec2943f7c9a39b2180d2b0b9cba7ae1 100644 (file)
@@ -406,14 +406,14 @@ static int pcm_capture_ack(struct snd_pcm_substream *substream)
 {
        struct snd_oxfw *oxfw = substream->private_data;
 
-       return amdtp_stream_pcm_ack(&oxfw->tx_stream);
+       return amdtp_domain_stream_pcm_ack(&oxfw->domain, &oxfw->tx_stream);
 }
 
 static int pcm_playback_ack(struct snd_pcm_substream *substream)
 {
        struct snd_oxfw *oxfw = substream->private_data;
 
-       return amdtp_stream_pcm_ack(&oxfw->rx_stream);
+       return amdtp_domain_stream_pcm_ack(&oxfw->domain, &oxfw->rx_stream);
 }
 
 int snd_oxfw_create_pcm(struct snd_oxfw *oxfw)