From 3ea63ceb53acf68c8b64b3584451baf2f3853a7d Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Fri, 17 Jan 2020 19:27:58 +0800 Subject: [PATCH] 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 Signed-off-by: Vignesh Kulothungan --- include/uapi/sound/compress_params.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index 60840a787570..825174e3c62c 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -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