]> git.alsa-project.org Git - alsa-lib.git/commitdiff
hdspm.h: Update LTC ioctl to use struct hdspm_ltc
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 19 Aug 2013 15:31:37 +0000 (17:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Aug 2013 18:13:55 +0000 (20:13 +0200)
Use struct hdspm_ltc to query the LTC, using a mixer struct was 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>
include/sound/hdspm.h

index 1774ff5ff6321eb44eeaa68b51481898e3187d1f..fe9c5f695fa4d0e37e313f29642163d9bc301265 100644 (file)
@@ -111,7 +111,7 @@ struct hdspm_ltc {
        enum hdspm_ltc_input_format input_format;
 };
 
-#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_mixer_ioctl)
+#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_ltc)
 
 /**
  * The status data reflects the device's current state