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

Commit d8d53498 authored by Ben Romberger's avatar Ben Romberger Committed by Gerrit - the friendly Code Review server
Browse files

drivers: soc: Add Kconfigs for Audio Notifier, PDR, and SSR



Add separate Kconfigs for the audio SSR, audio PDR,
and audio notifier drivers. Allows precise control
of different audio recovery mechanisms.

Change-Id: I2ab027d4a6e2cb98df5358e24f6bebacd9aecca7
CRs-Fixed: 1054000
Signed-off-by: default avatarBen Romberger <bromberg@codeaurora.org>
parent 626caf4e
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -571,6 +571,39 @@ config MSM_QDSP6_APRV3_GLINK
	  QDSP6. APR is used by audio driver to
	  configure QDSP6v2's ASM, ADM and AFE.

config MSM_QDSP6_SSR
	bool "Audio QDSP6 SSR support"
	depends on MSM_QDSP6_APRV2 || MSM_QDSP6_APRV3 || \
		MSM_QDSP6_APRV2_GLINK || MSM_QDSP6_APRV3_GLINK
	help
	  Enable Subsystem Restart. Reset audio
	  clients when the ADSP subsystem is
	  restarted. Subsystem Restart for audio
	  is only used for processes on the ADSP
	  and signals audio drivers through APR.


config MSM_QDSP6_PDR
	bool "Audio QDSP6 PDR support"
	depends on MSM_QDSP6_APRV2 || MSM_QDSP6_APRV3 || \
		MSM_QDSP6_APRV2_GLINK || MSM_QDSP6_APRV3_GLINK
	help
	  Enable Protection Domain Restart. Reset
          audio clients when a process on the ADSP
          is restarted. PDR for audio is only used
          for processes on the ADSP and signals
          audio drivers through APR.

config MSM_QDSP6_NOTIFIER
	bool "Audio QDSP6 PDR support"
	depends on MSM_QDSP6_SSR || MSM_QDSP6_PDR
	help
	  Enable notifier which decides whether
	  to use SSR or PDR and notifies all
	  audio clients of the event. Both SSR
	  and PDR are recovery methods when
	  there is a crash on ADSP. Audio drivers
	  are contacted by ADSP through APR.

config MSM_ADSP_LOADER
	tristate "ADSP loader support"