summaryrefslogtreecommitdiffstats
path: root/include/uapi/sound
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2013-08-19 17:20:32 +0200
committerTakashi Iwai <tiwai@suse.de>2013-08-19 20:09:09 +0200
commitb43dd416be21bc8ad60984e13def032f01aaaa18 (patch)
treebf7e581456c4d8823f16290acb0b43cfbc9bb979 /include/uapi/sound
parentALSA: hdspm - Use enums in hdspm_tco_ltc_frames() (diff)
downloadlinux-b43dd416be21bc8ad60984e13def032f01aaaa18.tar.xz
linux-b43dd416be21bc8ad60984e13def032f01aaaa18.zip
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>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r--include/uapi/sound/hdspm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h
index 1f59ea2a4a76..d956c3593f65 100644
--- a/include/uapi/sound/hdspm.h
+++ b/include/uapi/sound/hdspm.h
@@ -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