OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c549bb
)
ASoC: msm: Add AVS version check for ADSP 2.7
author
Soumya Managoli
<smanag@codeaurora.org>
Mon, 4 Mar 2019 08:48:43 +0000
(14:18 +0530)
committer
Soumya Managoli
<smanag@codeaurora.org>
Mon, 4 Mar 2019 08:59:54 +0000
(14:29 +0530)
Added missing AVS version check to use asm write apis
for ADSP 2.7
Change-Id: I6c841d8b89aa2f0511ea496c9955387b606d2812
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c
patch
|
blob
|
history
diff --git
a/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c
b/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c
index
1bb25ee
..
ab29f15
100644
(file)
--- a/
sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c
+++ b/
sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.c
@@
-384,6
+384,7
@@
static int msm_pcm_playback_prepare(struct snd_pcm_substream *substream)
prtd->audio_client = NULL;
return -ENOMEM;
}
+ } else if (q6core_get_avs_version() == Q6_SUBSYS_AVS2_7) {
ret = q6asm_open_write_v3(prtd->audio_client,
FORMAT_LINEAR_PCM, bits_per_sample);
if (ret < 0) {