This reverts commit
20c0cacb28e9c41b822873721346d3bd5a00ba8b.
q6core_get_avs_version() api to query adsp version is
not supported for avs.adsp.2.8 and later components and
gives incorrect results when used.
Hence reverting the change.
Change-Id: I87467efe2fc0b82d94323de172e3efb858292fb8
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
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) {