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

Commit a24ebd93 authored by Banajit Goswami's avatar Banajit Goswami Committed by Hridya Valsaraju
Browse files

ANDROID: GKI: ASoC: core: Add compat_ioctl callback to struct snd_pcm_ops



This is required to resolve the ABI diff.

Test: build
Bug: 151372815
Signed-off-by: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
Change-Id: I4757f9609bd14bd904bd1c90bd41986c2f7a4a64
(cherry picked from commit d5768539)
[hridya: amended commit to only include ABI diff]
Signed-off-by: default avatarHridya Valsaraju <hridya@google.com>
parent b224f6a8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -68,6 +68,8 @@ struct snd_pcm_ops {
	int (*close)(struct snd_pcm_substream *substream);
	int (*ioctl)(struct snd_pcm_substream * substream,
		     unsigned int cmd, void *arg);
	int (*compat_ioctl)(struct snd_pcm_substream *substream,
		     unsigned int cmd, void *arg);
	int (*hw_params)(struct snd_pcm_substream *substream,
			 struct snd_pcm_hw_params *params);
	int (*hw_free)(struct snd_pcm_substream *substream);