Loading sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c +8 −2 Original line number Diff line number Diff line Loading @@ -1616,11 +1616,17 @@ static int msm_compr_get_caps(struct snd_compr_stream *cstream, { struct snd_compr_runtime *runtime = cstream->runtime; struct msm_compr_audio *prtd = runtime->private_data; int ret = 0; pr_debug("%s\n", __func__); if ((arg != NULL) && (prtd != NULL)) { memcpy(arg, &prtd->compr_cap, sizeof(struct snd_compr_caps)); } else { ret = -EINVAL; pr_err("%s: arg (0x%p), prtd (0x%p)\n", __func__, arg, prtd); } return 0; return ret; } static int msm_compr_get_codec_caps(struct snd_compr_stream *cstream, Loading Loading
sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c +8 −2 Original line number Diff line number Diff line Loading @@ -1616,11 +1616,17 @@ static int msm_compr_get_caps(struct snd_compr_stream *cstream, { struct snd_compr_runtime *runtime = cstream->runtime; struct msm_compr_audio *prtd = runtime->private_data; int ret = 0; pr_debug("%s\n", __func__); if ((arg != NULL) && (prtd != NULL)) { memcpy(arg, &prtd->compr_cap, sizeof(struct snd_compr_caps)); } else { ret = -EINVAL; pr_err("%s: arg (0x%p), prtd (0x%p)\n", __func__, arg, prtd); } return 0; return ret; } static int msm_compr_get_codec_caps(struct snd_compr_stream *cstream, Loading