[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dbab9b60e46dde17a3dd0bd05a160d14e9e63860.camel@toradex.com>
Date: Thu, 13 Jun 2019 09:06:23 +0000
From: Marcel Ziswiler <marcel.ziswiler@...adex.com>
To: "festevam@...il.com" <festevam@...il.com>,
Oleksandr Suvorov <oleksandr.suvorov@...adex.com>
CC: "perex@...ex.cz" <perex@...ex.cz>,
Igor Opaniuk <igor.opaniuk@...adex.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"tiwai@...e.com" <tiwai@...e.com>
Subject: Re: [PATCH v1 5/6] ASoC: Define a set of DAPM pre/post-up events
On Tue, 2019-05-21 at 13:36 +0300, Oleksandr Suvorov wrote:
> Prepare to use SND_SOC_DAPM_PRE_POST_PMU definition to
> reduce coming code size and make it more readable.
>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@...adex.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@...adex.com>
> ---
>
> include/sound/soc-dapm.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git include/sound/soc-dapm.h include/sound/soc-dapm.h
> index c00a0b8ade08..6c6694160130 100644
> --- include/sound/soc-dapm.h
> +++ include/sound/soc-dapm.h
> @@ -353,6 +353,8 @@ struct device;
> #define SND_SOC_DAPM_WILL_PMD 0x80 /* called at start of
> sequence */
> #define SND_SOC_DAPM_PRE_POST_PMD \
> (SND_SOC_DAPM_PRE_PMD |
> SND_SOC_DAPM_POST_PMD)
> +#define SND_SOC_DAPM_PRE_POST_PMU \
> + (SND_SOC_DAPM_PRE_PMU |
> SND_SOC_DAPM_POST_PMU)
>
> /* convenience event type detection */
> #define SND_SOC_DAPM_EVENT_ON(e) \
> --
> 2.20.1
Powered by blists - more mailing lists