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

Commit a89be5d9 authored by Srikanth Uyyala's avatar Srikanth Uyyala
Browse files

ASoC: msm: qdsp6v2: update rtac driver with asm handle



rtac driver uses the asm session handle to communicate with DSP
this handle is supplied to rtac driver in q6asm_audio_client_alloc
function. But the rtac driver is not updated when the asm session
is de-allocated. This change is about updating rtac driver with
asm session handle during q6asm_audio_client_free.

Change-Id: I10bab5830d8e29d17907511c757c4d2bcf09c0cc
Signed-off-by: default avatarSrikanth Uyyala <suyyala@codeaurora.org>
parent 4f7295be
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -764,6 +764,7 @@ void q6asm_audio_client_free(struct audio_client *ac)
	apr_deregister(ac->apr);
	ac->apr = NULL;
	ac->mmap_apr = NULL;
	rtac_set_asm_handle(ac->session, ac->apr);
	q6asm_session_free(ac);
	q6asm_mmap_apr_dereg();