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

Commit 87c2a52f 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: q6dspv2: use topology from userspace for ULL-PP mode"

parents 297c7b29 c63a1b00
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2261,6 +2261,10 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,

	if (perf_mode == ULL_POST_PROCESSING_PCM_MODE) {
		flags = ADM_ULL_POST_PROCESSING_DEVICE_SESSION;
		if ((topology == DOLBY_ADM_COPP_TOPOLOGY_ID) ||
		    (topology == DS2_ADM_COPP_TOPOLOGY_ID) ||
		    (topology == SRS_TRUMEDIA_TOPOLOGY_ID) ||
		    (topology == ADM_CMD_COPP_OPEN_TOPOLOGY_ID_DTS_HPX))
			topology = DEFAULT_COPP_TOPOLOGY;
	} else if (perf_mode == ULTRA_LOW_LATENCY_PCM_MODE) {
		flags = ADM_ULTRA_LOW_LATENCY_DEVICE_SESSION;