[ALSA] Add SNDRV_PCM_IOCTL_TSTAMP back to compat ioctl
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Dec 2007 10:44:25 +0000 (11:44 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:36 +0000 (17:29 +0100)
The replaced one should be re-added for older alsa-lib.

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

index 1fb6ae7788061f740d25f00c5fcfce17ccbf6ae5..49aa693fba8adb8507d892a3fdc8081960d8c4ce 100644 (file)
@@ -483,6 +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: