Skip to content

Commit 8de5d6f

Browse files
adiknothtiwai
authored andcommitted
ALSA: hdspm - Provide ioctl_compat
snd_hdspm 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: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 526af6e commit 8de5d6f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎sound/pci/rme9652/hdspm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6333,6 +6333,7 @@ static int __devinit snd_hdspm_create_hwdep(struct snd_card *card,
63336333

63346334
hw->ops.open = snd_hdspm_hwdep_dummy_op;
63356335
hw->ops.ioctl = snd_hdspm_hwdep_ioctl;
6336+
hw->ops.ioctl_compat = snd_hdspm_hwdep_ioctl;
63366337
hw->ops.release = snd_hdspm_hwdep_dummy_op;
63376338

63386339
return 0;

0 commit comments

Comments
 (0)