[ALSA] Fix old tstamp ioctl for compat_ioctl

Previous thread: [ALSA] hda: Added STAC92HD73 support by Linux Kernel Mailing List on Thursday, January 31, 2008 - 8:01 pm. (1 message)

Next thread: [ALSA] hda-codec - Add ALC889/ALC267/ALC269 support by Linux Kernel Mailing List on Thursday, January 31, 2008 - 8:01 pm. (1 message)
To: <git-commits-head@...>
Date: Thursday, January 31, 2008 - 8:01 pm

Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=c...
Commit: 6b587ef9a15fa2e1859faf5a8937702ef6c12616
Parent: 541eee8768b60ffc233f5ca0796a4cef54df699b
Author: Takashi Iwai <tiwai@suse.de>
AuthorDate: Fri Dec 14 12:10:26 2007 +0100
Committer: Jaroslav Kysela <perex@perex.cz>
CommitDate: Thu Jan 31 17:29:34 2008 +0100

[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 <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
sound/core/pcm_compat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c
index 2b53979..1fb6ae7 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:
-

Previous thread: [ALSA] hda: Added STAC92HD73 support by Linux Kernel Mailing List on Thursday, January 31, 2008 - 8:01 pm. (1 message)

Next thread: [ALSA] hda-codec - Add ALC889/ALC267/ALC269 support by Linux Kernel Mailing List on Thursday, January 31, 2008 - 8:01 pm. (1 message)