aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-09-17 16:02:22 -0400
committerJaroslav Kysela <perex@suse.cz>2006-09-23 04:47:19 -0400
commit2b1181ed83ee8b0afbf9ba3e4f789f00375b2a17 (patch)
tree3248cc6cc9315fc4a5e48bd7f77ae8f005538135 /sound/core
parent783eaf4671a4f5a95102aedb5a45e1f8adab945c (diff)
[ALSA] Add missing compat ioctls for ALSA control API
Added the missing 32bit-compat ioctl entries for ALSA control API (espcially for recent additions of TLV stuff). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/control_compat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/core/control_compat.c b/sound/core/control_compat.c
index 3c0161bb5ba4..ab48962c48ce 100644
--- a/sound/core/control_compat.c
+++ b/sound/core/control_compat.c
@@ -407,6 +407,10 @@ static inline long snd_ctl_ioctl_compat(struct file *file, unsigned int cmd, uns
407 case SNDRV_CTL_IOCTL_POWER_STATE: 407 case SNDRV_CTL_IOCTL_POWER_STATE:
408 case SNDRV_CTL_IOCTL_ELEM_LOCK: 408 case SNDRV_CTL_IOCTL_ELEM_LOCK:
409 case SNDRV_CTL_IOCTL_ELEM_UNLOCK: 409 case SNDRV_CTL_IOCTL_ELEM_UNLOCK:
410 case SNDRV_CTL_IOCTL_ELEM_REMOVE:
411 case SNDRV_CTL_IOCTL_TLV_READ:
412 case SNDRV_CTL_IOCTL_TLV_WRITE:
413 case SNDRV_CTL_IOCTL_TLV_COMMAND:
410 return snd_ctl_ioctl(file, cmd, (unsigned long)argp); 414 return snd_ctl_ioctl(file, cmd, (unsigned long)argp);
411 case SNDRV_CTL_IOCTL_ELEM_LIST32: 415 case SNDRV_CTL_IOCTL_ELEM_LIST32:
412 return snd_ctl_elem_list_compat(ctl->card, argp); 416 return snd_ctl_elem_list_compat(ctl->card, argp);