From: Takashi Iwai Date: Fri, 14 Dec 2007 11:10:26 +0000 (+0100) Subject: [ALSA] Fix old tstamp ioctl for compat_ioctl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6b587ef9a15fa2e1859faf5a8937702ef6c12616;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [ALSA] Fix old tstamp ioctl for compat_ioctl Replaced the old SNDRV_PCM_IOCTL_TSTAMP with the new one in PCM compat_ioctl. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index 2b539799d23b..1fb6ae778806 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c @@ -483,7 +483,7 @@ static long snd_pcm_ioctl_compat(struct file *file, unsigned int cmd, unsigned l switch (cmd) { case SNDRV_PCM_IOCTL_PVERSION: case SNDRV_PCM_IOCTL_INFO: - case SNDRV_PCM_IOCTL_TSTAMP: + case SNDRV_PCM_IOCTL_TTSTAMP: case SNDRV_PCM_IOCTL_HWSYNC: case SNDRV_PCM_IOCTL_PREPARE: case SNDRV_PCM_IOCTL_RESET: