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

Commit b57ec3a4 authored by Dhanalakshmi Siddani's avatar Dhanalakshmi Siddani Committed by Matt Wagantall
Browse files

ASoC: msm: qdsp6v2: Add support for compat ioctl in dts eagle driver



Add compat ioctl to fix compilation error when userspace and kernel
is compiled for 32 and 64 bit respectively.

Change-Id: Ie6a8b370d2617841e3f7ebe6824fc8ccbb48fb3f
Signed-off-by: default avatarDhanalakshmi Siddani <dsiddani@codeaurora.org>
parent 94d40313
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1434,6 +1434,7 @@ int msm_dts_eagle_ioctl(unsigned int cmd, unsigned long arg)
 *
 * Return: Return failure if any.
 */
#ifdef CONFIG_COMPAT
int msm_dts_eagle_compat_ioctl(unsigned int cmd, unsigned long arg)
{
	switch (cmd) {
@@ -1472,7 +1473,7 @@ int msm_dts_eagle_compat_ioctl(unsigned int cmd, unsigned long arg)
	}
	return msm_dts_eagle_ioctl(cmd, arg);
}

#endif
/**
 * msm_dts_eagle_init_pre() - Initialize DTS premix module
 * @ac:	Initialize premix module in the ASM session.