소스 검색

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 년 전
부모
커밋
2b0913c6d4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {