ALSA: hdsp - Provide ioctl_compat
authorAndre Schramm <andre.schramm@iosono-sound.com>
Mon, 7 May 2012 16:52:51 +0000 (18:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 May 2012 05:27:22 +0000 (07:27 +0200)
snd_hdsp uses its own ioctls to acquire config- and status information.
Expose the corresponding ioctl handler via ioctl_compat, so that 32bit applications can use it on 64bit kernels.

Signed-off-by: Andre Schramm <andre.schramm@iosono-sound.com>
Reviewed-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c

index b68cdec..0b2aea2 100644 (file)
@@ -5170,6 +5170,7 @@ static int snd_hdsp_create_hwdep(struct snd_card *card, struct hdsp *hdsp)
        strcpy(hw->name, "HDSP hwdep interface");
 
        hw->ops.ioctl = snd_hdsp_hwdep_ioctl;
+       hw->ops.ioctl_compat = snd_hdsp_hwdep_ioctl;
 
        return 0;
 }