audio: Modified SSR handling after sub-system shutdown compltes

Changes to make sound card offline after receving sub-system complete event.

Change-Id: I022aa77c2eb19706a448c3fe26be2f9cbcf45bfd
This commit is contained in:
Kogara Naveen Kumar 2022-08-29 15:33:04 +05:30
commit 884cb61bf3

View file

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