From dc7bb91d61ed11f6f27ad39d47e9bec3c712882e Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Sun, 24 Nov 2019 23:40:21 -0800 Subject: [PATCH] ALSA: uapi: add new macro SNDRV_AUDIO_QGKI Add new macro SNDRV_AUDIO_QGKI and userspace can check if AUDIO_QGKI is enabled or not. Change-Id: I8c0a8c350c41a5feb616a7ee9895d88f182c91dc Signed-off-by: Meng Wang --- include/uapi/sound/asound.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index df1153cea0b7..8f8a6467095e 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -1035,4 +1035,8 @@ struct snd_ctl_event { #define SNDRV_CTL_NAME_IEC958_PCM_STREAM "PCM Stream" #define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_##direction SNDRV_CTL_NAME_IEC958_##what +#ifdef CONFIG_AUDIO_QGKI +#define SNDRV_AUDIO_QGKI 1 +#endif + #endif /* _UAPI__SOUND_ASOUND_H */