From aebc126e35025886ac20012f6602c870660a5a07 Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Tue, 14 May 2019 18:28:29 +0300 Subject: ASoC: Add definition for DAPM up pre/post events set Define SND_SOC_DAPM_PRE_POST_PMU to reduce code. Related to: #48500 Signed-off-by: Oleksandr Suvorov --- include/sound/soc-dapm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 385c6329a967..da9b0a4617ab 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -313,6 +313,8 @@ struct device; #define SND_SOC_DAPM_POST_REG 0x20 /* after audio path setup */ #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) \ -- cgit v1.2.3