]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] Fix old tstamp ioctl for compat_ioctl
authorTakashi Iwai <tiwai@suse.de>
Fri, 14 Dec 2007 11:10:26 +0000 (12:10 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:34 +0000 (17:29 +0100)
Replaced the old SNDRV_PCM_IOCTL_TSTAMP with the new one in
PCM compat_ioctl.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/pcm_compat.c

index 2b539799d23b7a88a10f1583281b7f2263b55786..1fb6ae7788061f740d25f00c5fcfce17ccbf6ae5 100644 (file)
@@ -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: