From bc0a803fcc2756be9927ace4b0c3e43f9d58a171 Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Tue, 2 Apr 2019 15:27:18 +0800 Subject: [PATCH] hal: sndmonitor: Add support for kona sound card in sndmonitor Add support for kona sound card variants in sndmonitor to enable SSR and PDR in kona target. Change-Id: Ieb06d6f637990e69dea9644aa468bc94157dc100 --- hal/audio_extn/sndmonitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hal/audio_extn/sndmonitor.c b/hal/audio_extn/sndmonitor.c index ae9bb493..2bcb175c 100644 --- a/hal/audio_extn/sndmonitor.c +++ b/hal/audio_extn/sndmonitor.c @@ -222,7 +222,8 @@ static int enum_sndcards() (strncasecmp(card_id, "sm", 2) != 0) && (strncasecmp(card_id, "trinket", 7) != 0) && (strncasecmp(card_id, "apq", 3) != 0) && - (strncasecmp(card_id, "sa", 2) != 0)) { + (strncasecmp(card_id, "sa", 2) != 0) && + (strncasecmp(card_id, "kona", 4) != 0)) { ALOGW("Skip over non-ADSP snd card %s", card_id); continue; }