Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ea63ceb authored by Meng Wang's avatar Meng Wang Committed by Vignesh Kulothungan
Browse files

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: default avatarMeng Wang <mengw@codeaurora.org>
Signed-off-by: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent 059aa413
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -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