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

Commit 707a2d44 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: Fix error during memory unmap"

parents 27a45a45 db3da2dc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -408,6 +408,8 @@ static void _reg_ion_mem_NT(void)
	if (rc < 0) {
		eagle_drv_err("%s: memory map failed", __func__);
		msm_audio_ion_free(_ion_client_NT, _ion_handle_NT);
		_ion_client_NT = NULL;
		_ion_handle_NT = NULL;
	}
}

@@ -420,6 +422,9 @@ static void _unreg_ion_mem_NT(void)
	rc = msm_audio_ion_free(_ion_client_NT, _ion_handle_NT);
	if (rc < 0)
		eagle_drv_err("%s: mem free failed", __func__);

	_ion_client_NT = NULL;
	_ion_handle_NT = NULL;
}

static struct audio_client *_getNTDeviceAC(void)