projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783eaf4
)
[ALSA] Add missing compat ioctls for ALSA control API
author
Takashi Iwai
<
[email protected]
>
Sun, 17 Sep 2006 20:02:22 +0000
(22:02 +0200)
committer
Jaroslav Kysela
<
[email protected]
>
Sat, 23 Sep 2006 08:47:19 +0000
(10:47 +0200)
Added the missing 32bit-compat ioctl entries for ALSA control API
(espcially for recent additions of TLV stuff).
Signed-off-by: Takashi Iwai <
[email protected]
>
Signed-off-by: Jaroslav Kysela <
[email protected]
>
sound/core/control_compat.c
patch
|
blob
|
history
diff --git
a/sound/core/control_compat.c
b/sound/core/control_compat.c
index 3c0161bb5ba45e45974bcf610612dac75f2c88f8..ab48962c48ce9716973392f2a426ab540e424b24 100644
(file)
--- 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
case SNDRV_CTL_IOCTL_POWER_STATE:
case SNDRV_CTL_IOCTL_ELEM_LOCK:
case SNDRV_CTL_IOCTL_ELEM_UNLOCK:
+ case SNDRV_CTL_IOCTL_ELEM_REMOVE:
+ case SNDRV_CTL_IOCTL_TLV_READ:
+ case SNDRV_CTL_IOCTL_TLV_WRITE:
+ case SNDRV_CTL_IOCTL_TLV_COMMAND:
return snd_ctl_ioctl(file, cmd, (unsigned long)argp);
case SNDRV_CTL_IOCTL_ELEM_LIST32:
return snd_ctl_elem_list_compat(ctl->card, argp);