diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2013-08-19 15:20:32 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-19 18:09:09 (GMT) |
commit | b43dd416be21bc8ad60984e13def032f01aaaa18 (patch) | |
tree | bf7e581456c4d8823f16290acb0b43cfbc9bb979 /include/uapi | |
parent | 1568b8802227f4e7b0ad79a49cd35d4e285570f2 (diff) | |
download | linux-b43dd416be21bc8ad60984e13def032f01aaaa18.tar.xz |
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')
-rw-r--r-- | include/uapi/sound/hdspm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index 1f59ea2..d956c35 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 |