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

Commit 437d8dad 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: qdsp6v2: Handle SSR for audio playback over BT usecase"

parents 8c7e12b9 5d983391
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -2892,7 +2892,14 @@ int afe_close(int port_id)
	uint16_t port_index;

	if (this_afe.apr == NULL) {
		pr_err("AFE is already closed\n");
		pr_err("%s: AFE is already closed\n", __func__);
		if ((port_id == RT_PROXY_DAI_001_RX) ||
		    (port_id == RT_PROXY_DAI_002_TX))
			pcm_afe_instance[port_id & 0x1] = 0;
		if ((port_id == RT_PROXY_DAI_002_RX) ||
		    (port_id == RT_PROXY_DAI_001_TX))
			proxy_afe_instance[port_id & 0x1] = 0;
		afe_close_done[port_id & 0x1] = true;
		ret = -EINVAL;
		goto fail_cmd;
	}