summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2013-08-19 17:31:37 +0200
committerTakashi Iwai <tiwai@suse.de>2013-08-19 20:13:55 +0200
commit4b169b05b48f4ea0196879b62b8c3fa5b050e806 (patch)
tree451a17365b7b4369cf9df52a7daed67473a7e78e
parent36bc5770409901b0e3a1b1cb5a027cdb71ff47f5 (diff)
downloadalsa-lib-4b169b05b48f4ea0196879b62b8c3fa5b050e806.tar.gz
hdspm.h: Update LTC ioctl to use struct hdspm_ltc
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>
-rw-r--r--include/sound/hdspm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/hdspm.h b/include/sound/hdspm.h
index 1774ff5f..fe9c5f69 100644
--- a/include/sound/hdspm.h
+++ b/include/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