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

Commit 5e5214a4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: fix rtac issue for 64bit"

parents 9b1aca77 deb08dc8
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -1343,7 +1343,8 @@ static long rtac_ioctl(struct file *f,
}

#ifdef CONFIG_COMPAT

#define AUDIO_GET_RTAC_ADM_INFO_32   _IOR(CAL_IOCTL_MAGIC, 207, compat_uptr_t)
#define AUDIO_GET_RTAC_VOICE_INFO_32 _IOR(CAL_IOCTL_MAGIC, 208, compat_uptr_t)
#define AUDIO_GET_RTAC_ADM_CAL_32 _IOWR(CAL_IOCTL_MAGIC, 209, compat_uptr_t)
#define AUDIO_SET_RTAC_ADM_CAL_32 _IOWR(CAL_IOCTL_MAGIC, 210, compat_uptr_t)
#define AUDIO_GET_RTAC_ASM_CAL_32 _IOWR(CAL_IOCTL_MAGIC, 211, compat_uptr_t)
@@ -1365,10 +1366,12 @@ static long rtac_compat_ioctl(struct file *f,
	}

	switch (cmd) {
	case AUDIO_GET_RTAC_ADM_INFO:
	case AUDIO_GET_RTAC_VOICE_INFO:
		result = rtac_ioctl_shared(f, cmd, compat_ptr(arg));
		break;
	case AUDIO_GET_RTAC_ADM_INFO_32:
		cmd = AUDIO_GET_RTAC_ADM_INFO;
		goto process;
	case AUDIO_GET_RTAC_VOICE_INFO_32:
		cmd = AUDIO_GET_RTAC_VOICE_INFO;
		goto process;
	case AUDIO_GET_RTAC_ADM_CAL_32:
		cmd = AUDIO_GET_RTAC_ADM_CAL;
		goto process;