From 884cb61bf32c93c110eb48ab6ae1b58a5d45fd28 Mon Sep 17 00:00:00 2001 From: Kogara Naveen Kumar Date: Mon, 29 Aug 2022 15:33:04 +0530 Subject: [PATCH] audio: Modified SSR handling after sub-system shutdown compltes Changes to make sound card offline after receving sub-system complete event. Change-Id: I022aa77c2eb19706a448c3fe26be2f9cbcf45bfd --- dsp/audio_notifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp/audio_notifier.c b/dsp/audio_notifier.c index 9f2d4d5c107f6..9c54afb1dbdde 100644 --- a/dsp/audio_notifier.c +++ b/dsp/audio_notifier.c @@ -423,7 +423,7 @@ static int audio_notifier_convert_opcode(unsigned long opcode, int ret = 0; switch (opcode) { - case SUBSYS_BEFORE_SHUTDOWN: + case SUBSYS_AFTER_SHUTDOWN: case SERVREG_NOTIF_SERVICE_STATE_DOWN_V01: *notifier_opcode = AUDIO_NOTIFIER_SERVICE_DOWN; break;