hal: sndmonitor: Add support for lito sound card in sndmonitor
Add support for lito sound card variants in sndmonitor
to enable SSR and PDR in lito target.
Change-Id: I0b53de924b42944e1a92c98a16c735311eefc792
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
diff --git a/hal/audio_extn/sndmonitor.c b/hal/audio_extn/sndmonitor.c
index 11578fc..9e460f0 100644
--- a/hal/audio_extn/sndmonitor.c
+++ b/hal/audio_extn/sndmonitor.c
@@ -223,7 +223,8 @@
(strncasecmp(card_id, "trinket", 7) != 0) &&
(strncasecmp(card_id, "apq", 3) != 0) &&
(strncasecmp(card_id, "sa", 2) != 0) &&
- (strncasecmp(card_id, "kona", 4) != 0)) {
+ (strncasecmp(card_id, "kona", 4) != 0) &&
+ (strncasecmp(card_id, "lito", 4) != 0)) {
ALOGW("Skip over non-ADSP snd card %s", card_id);
continue;
}