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

Commit 733f5a1d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: Add AVS version check for ADSP 2.7"

parents 914ff0d9 20c0cacb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {