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: Ben Romberger <bromberg@codeaurora.org>
This commit is contained in:
Ben Romberger 2016-09-13 17:32:50 -07:00 committed by Gerrit - the friendly Code Review server
parent 626caf4e54
commit d8d534980f

View file

@ -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"