ALSA: pcm: Use deferred fasync helper
[sfrench/cifs-2.6.git] / sound / core / pcm_native.c
index aa0453e515956ddd3ffe6c29904dfc60a05693c3..ad0541e9e88808424aee75cdfcdc4f4d4098a02b 100644 (file)
@@ -3951,7 +3951,7 @@ static int snd_pcm_fasync(int fd, struct file * file, int on)
        runtime = substream->runtime;
        if (runtime->status->state == SNDRV_PCM_STATE_DISCONNECTED)
                return -EBADFD;
-       return fasync_helper(fd, file, on, &runtime->fasync);
+       return snd_fasync_helper(fd, file, on, &runtime->fasync);
 }
 
 /*