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

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Jun 4 10:48:14 CEST 2018


On Mon, 2018-06-04 at 15:40 +0800, Wu Zhigang wrote:
> the trigger macro ids are typed incorrect
> in the component.h.

Apologies, I also made a typo this morning in $SUBJECT. I've now changed type ->
typo and applied.

Btw, please dont use capital letters in your subject and no need for sof/SOF in
subject either. I've fixed.

Thanks

Liam

> 
> 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 */


More information about the Sound-open-firmware mailing list