uapi: sound: remove redundant QGKI config checks

Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

CRs-Fixed: 2603947
Change-Id: I712525434311c48d4046cb7fa1aca2add89eb23e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
Meng Wang 2020-01-17 19:27:58 +08:00 • committed by Vignesh Kulothungan
commit 3ea63ceb53

View file

@ -507,13 +507,8 @@ struct snd_codec {
__u32 format;
__u32 align;
union snd_codec_options options;
#ifdef CONFIG_AUDIO_QGKI
__u32 flags;
__u32 compr_passthr;
__u32 reserved[1];
#else
/* reserved[0] is compr_passthr and reserved[1] is flags */
__u32 reserved[3];
#endif
} __attribute__((packed, aligned(4)));
/** struct snd_codec_metadata
@ -531,7 +526,4 @@ struct snd_codec_metadata {
__u32 reserved[4];
};
#define SND_CODEC_COMPRESS_PASSTHROUGH
#endif