[alsa-devel] [PATCH 6/7] topology: ABI - Add voice wake up flag for DAI links

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Wed Nov 16 07:42:58 CET 2016


From: Mengdong Lin <mengdong.lin at linux.intel.com>

Add a new flag bit SND_SOC_TPLG_LNK_FLGBIT_VOICE_WAKEUP to link flags.
If a link is used for voice wake up, users can set this flag bit and
topology will set the link's 'ignore_suspend' to true.

This ABI update is backward compatible and applied in kernel. We may
rename this flag when we find a better name for this.

Signed-off-by: Mengdong Lin <mengdong.lin at linux.intel.com>

diff --git a/include/sound/asoc.h b/include/sound/asoc.h
index 1232f1e..082c542 100644
--- a/include/sound/asoc.h
+++ b/include/sound/asoc.h
@@ -146,6 +146,7 @@
 #define SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_RATES         (1 << 0)
 #define SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_CHANNELS      (1 << 1)
 #define SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_SAMPLEBITS    (1 << 2)
+#define SND_SOC_TPLG_LNK_FLGBIT_VOICE_WAKEUP            (1 << 3)
 
 /*
  * Block Header.
-- 
2.5.0



More information about the Alsa-devel mailing list