From 28e9e47384d333239a8335b439a92a13d29f91d6 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 17 Dec 2007 09:02:22 +0100 Subject: [ALSA] PCM - added back TSTAMP ioctl for PCM (for old alsa-lib binaries) Signed-off-by: Jaroslav Kysela --- sound/core/pcm_native.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound') diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 7fb7c921b27d..2e7b1e63db94 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -2546,6 +2546,8 @@ static int snd_pcm_common_ioctl1(struct file *file, return put_user(SNDRV_PCM_VERSION, (int __user *)arg) ? -EFAULT : 0; case SNDRV_PCM_IOCTL_INFO: return snd_pcm_info_user(substream, arg); + case SNDRV_PCM_IOCTL_TSTAMP: /* just for compatibility */ + return 0; case SNDRV_PCM_IOCTL_TTSTAMP: return snd_pcm_tstamp(substream, arg); case SNDRV_PCM_IOCTL_HW_REFINE: -- cgit v1.2.3