audio-kernel: Add changes to support SSR/PDR

Add changes in audio-pkt,voice_mhi and gpr-lite drivers.
Fixing bug in audio_pdr driver w.r.t memory allocation.

Change-Id: I6ab7ff13b532921f85e9548341969abd32ee3b6d

Signed-off-by: Bharath Tirunagaru <bharatht@codeaurora.org>
This commit is contained in:
Bharath Tirunagaru
2020-03-13 16:20:12 -07:00
committed by Gerrit - the friendly Code Review server
parent 2f145b55cf
commit ebf0162590
6 changed files with 548 additions and 78 deletions

View File

@@ -357,9 +357,8 @@ static int audio_prm_remove(struct gpr_device *adev)
goto err;
}
g_prm.adev = NULL;
g_prm.is_adsp_up = false;
mutex_unlock(&g_prm.lock);
kfree(&g_prm);
err:
return ret;
}