diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-05-19 18:49:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-05-25 23:34:46 +0200 |
commit | 00277e2b5ffcf9ffb3afb5f728f7f01ad165cbff (patch) | |
tree | 250543571c301fd1cda914163e45954588d5bb18 /sound/pci/emu10k1/emupcm.c | |
parent | cebf6bfe5e32f07d94785f5cf893d19cf7c1c303 (diff) | |
download | linux-00277e2b5ffcf9ffb3afb5f728f7f01ad165cbff.tar.bz2 |
ALSA: emu10k1: Deliver indirect-PCM transfer error
Now that the indirect-PCM transfer helper gives back an error, we
should return the error from ack callbacks.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/emupcm.c')
-rw-r--r-- | sound/pci/emu10k1/emupcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c index ef1cf530c929..bdda29f335f6 100644 --- a/sound/pci/emu10k1/emupcm.c +++ b/sound/pci/emu10k1/emupcm.c @@ -1632,8 +1632,8 @@ static int snd_emu10k1_fx8010_playback_transfer(struct snd_pcm_substream *substr struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; - snd_pcm_indirect_playback_transfer(substream, &pcm->pcm_rec, fx8010_pb_trans_copy); - return 0; + return snd_pcm_indirect_playback_transfer(substream, &pcm->pcm_rec, + fx8010_pb_trans_copy); } static int snd_emu10k1_fx8010_playback_hw_params(struct snd_pcm_substream *substream, |