dsp: add early down support for PDR

When early down happens ADSP is down and APPS is trying to render audio
to ADSP continuously in impression that DSP is Up until APPS get down
notification. In some scenarios the time taken b/w early down to down
taking more time than expected. This longer times may cause block in
printk and other system hogging. So add support to listen early down
to do avoid such issues.

Change-Id: Ic51594d1c3423e750054bf2dcb7210be3f550c21
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
This commit is contained in:
Prasad Kumpatla
2022-03-02 23:04:14 +05:30
committed by Vishvanath Singh
parent 2de148a8ec
commit 2b0913c6d4

View File

@@ -25,7 +25,7 @@
#define NO_SERVICE -2 #define NO_SERVICE -2
#define UNINIT_SERVICE -1 #define UNINIT_SERVICE -1
static bool service_early_down = false; static bool service_early_down;
static struct platform_device *adsp_private; static struct platform_device *adsp_private;
struct adsp_notify_private { struct adsp_notify_private {