Browse Source

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 <[email protected]>
Prasad Kumpatla 3 years ago
parent
commit
2b0913c6d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dsp/audio_notifier.c

+ 1 - 1
dsp/audio_notifier.c

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