From ec5cd505b1cb285e61a19a814419aae0b416ecaa Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Thu, 23 Apr 2020 08:42:04 +0800 Subject: [PATCH] uapi: sound: remove redundant QGKI config checks Userspace does not have access to QGKI configs, so remove redundant QGKI config checks. Change-Id: Ia8126e976e5189c0160044f1656709a5692743db Signed-off-by: Meng Wang --- include/uapi/sound/asound.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 5edc76c022b6..c0f55e451781 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -111,21 +111,15 @@ enum { SNDRV_HWDEP_IFACE_LINE6, /* Line6 USB processors */ SNDRV_HWDEP_IFACE_FW_MOTU, /* MOTU FireWire series */ SNDRV_HWDEP_IFACE_FW_FIREFACE, /* RME Fireface series */ -#ifdef CONFIG_AUDIO_QGKI SNDRV_HWDEP_IFACE_AUDIO_BE, /* Backend Audio Control */ SNDRV_HWDEP_IFACE_AUDIO_CODEC, /* codec Audio Control */ /* Don't forget to change the following: */ SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_AUDIO_CODEC -#else - SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREFACE -#endif }; -#ifdef CONFIG_AUDIO_QGKI #define SNDRV_HWDEP_IFACE_AUDIO_BE SNDRV_HWDEP_IFACE_AUDIO_BE #define SNDRV_HWDEP_IFACE_AUDIO_CODEC SNDRV_HWDEP_IFACE_AUDIO_CODEC -#endif struct snd_hwdep_info { unsigned int device; /* WR: device number */