Loading sound/soc/msm/qdsp6v2/msm-pcm-voip-v2.c +5 −0 Original line number Diff line number Diff line Loading @@ -824,6 +824,11 @@ static int msm_pcm_playback_copy(struct snd_pcm_substream *substream, int a, (sizeof(buf_node->frame.frm_hdr) + sizeof(buf_node->frame.pktlen)); } if (ret) { pr_err("%s: copy from user failed %d\n", __func__, ret); return -EFAULT; } spin_lock_irqsave(&prtd->dsp_lock, dsp_flags); list_add_tail(&buf_node->list, &prtd->in_queue); spin_unlock_irqrestore(&prtd->dsp_lock, dsp_flags); Loading Loading
sound/soc/msm/qdsp6v2/msm-pcm-voip-v2.c +5 −0 Original line number Diff line number Diff line Loading @@ -824,6 +824,11 @@ static int msm_pcm_playback_copy(struct snd_pcm_substream *substream, int a, (sizeof(buf_node->frame.frm_hdr) + sizeof(buf_node->frame.pktlen)); } if (ret) { pr_err("%s: copy from user failed %d\n", __func__, ret); return -EFAULT; } spin_lock_irqsave(&prtd->dsp_lock, dsp_flags); list_add_tail(&buf_node->list, &prtd->in_queue); spin_unlock_irqrestore(&prtd->dsp_lock, dsp_flags); Loading