[Sound-open-firmware] [PATCH v2] SOF:component: fix type in trigger macro ids

Wu Zhigang zhigang.wu at linux.intel.com
Mon Jun 4 09:40:27 CEST 2018


the trigger macro ids are typed incorrect
in the component.h.

Signed-off-by: Wu Zhigang <zhigang.wu at linux.intel.com>

---
v2: update the patch comments and title.
---
 src/include/sof/audio/component.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/sof/audio/component.h b/src/include/sof/audio/component.h
index 35ed618..0451b56 100644
--- a/src/include/sof/audio/component.h
+++ b/src/include/sof/audio/component.h
@@ -77,8 +77,8 @@
 #define COMP_TRIGGER_START	1	/* start component stream */
 #define COMP_TRIGGER_PAUSE	2	/* pause the component stream */
 #define COMP_TRIGGER_RELEASE	3	/* release paused component stream */
-#define COMP_TRIGGER_SUSPEND	5	/* suspend component */
-#define COMP_TRIGGER_RESUME	6	/* resume component */
+#define COMP_TRIGGER_SUSPEND	4	/* suspend component */
+#define COMP_TRIGGER_RESUME	5	/* resume component */
 #define COMP_TRIGGER_RESET	6	/* reset component */
 #define COMP_TRIGGER_PREPARE	7	/* prepare component */
 #define COMP_TRIGGER_XRUN	8	/* XRUN component */
-- 
2.14.1



More information about the Sound-open-firmware mailing list