Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e5a6acb authored by Soumya Managoli's avatar Soumya Managoli
Browse files

Revert "ASoC: msm: Add AVS version check for ADSP 2.7".



This reverts commit 20c0cacb.
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: default avatarSoumya Managoli <smanag@codeaurora.org>
parent 1d932c57
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -384,7 +384,6 @@ 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) {