提交 00277e2b 编写于 作者: T Takashi Iwai

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: NTakashi Iwai <tiwai@suse.de>
上级 cebf6bfe
...@@ -1632,8 +1632,8 @@ static int snd_emu10k1_fx8010_playback_transfer(struct snd_pcm_substream *substr ...@@ -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 *emu = snd_pcm_substream_chip(substream);
struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; 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 snd_pcm_indirect_playback_transfer(substream, &pcm->pcm_rec,
return 0; fx8010_pb_trans_copy);
} }
static int snd_emu10k1_fx8010_playback_hw_params(struct snd_pcm_substream *substream, static int snd_emu10k1_fx8010_playback_hw_params(struct snd_pcm_substream *substream,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册