Loading sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c +10 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,11 @@ static int msm_pcm_playback_prepare(struct snd_pcm_substream *substream) pr_err("%s: platform data not populated\n", __func__); return -EINVAL; } if (!prtd || !prtd->audio_client) { pr_err("%s: private data null or audio client freed\n", __func__); return -EINVAL; } params = &soc_prtd->dpcm[substream->stream].hw_params; pr_debug("%s\n", __func__); Loading Loading @@ -365,6 +370,11 @@ static int msm_pcm_capture_prepare(struct snd_pcm_substream *substream) pr_err("%s: platform data not populated\n", __func__); return -EINVAL; } if (!prtd || !prtd->audio_client) { pr_err("%s: private data null or audio client freed\n", __func__); return -EINVAL; } if (prtd->enabled == IDLE) { pr_debug("%s:perf_mode=%d periods=%d\n", __func__, Loading Loading
sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c +10 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,11 @@ static int msm_pcm_playback_prepare(struct snd_pcm_substream *substream) pr_err("%s: platform data not populated\n", __func__); return -EINVAL; } if (!prtd || !prtd->audio_client) { pr_err("%s: private data null or audio client freed\n", __func__); return -EINVAL; } params = &soc_prtd->dpcm[substream->stream].hw_params; pr_debug("%s\n", __func__); Loading Loading @@ -365,6 +370,11 @@ static int msm_pcm_capture_prepare(struct snd_pcm_substream *substream) pr_err("%s: platform data not populated\n", __func__); return -EINVAL; } if (!prtd || !prtd->audio_client) { pr_err("%s: private data null or audio client freed\n", __func__); return -EINVAL; } if (prtd->enabled == IDLE) { pr_debug("%s:perf_mode=%d periods=%d\n", __func__, Loading