Skip to content

Commit b43dd41

Browse files
adiknothtiwai
authored andcommitted
ALSA: hdspm - Fix SNDRV_HDSPM_IOCTL_GET_LTC
Use struct hdspm_ltc to query the LTC, using a mixer struct is just plain wrong. Due to the wrong struct, this ioctl was never working, so we're free to fix it without breaking userspace compatibility. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 1568b88 commit b43dd41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/uapi/sound/hdspm.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ struct hdspm_ltc {
111111
enum hdspm_ltc_input_format input_format;
112112
};
113113

114-
#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_mixer_ioctl)
114+
#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_ltc)
115115

116116
/**
117117
* The status data reflects the device's current state

0 commit comments

Comments
 (0)