diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2013-08-19 17:20:32 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-19 20:09:09 +0200 |
commit | b43dd416be21bc8ad60984e13def032f01aaaa18 (patch) | |
tree | bf7e581456c4d8823f16290acb0b43cfbc9bb979 | |
parent | 1568b8802227f4e7b0ad79a49cd35d4e285570f2 (diff) | |
download | linux-b43dd416be21bc8ad60984e13def032f01aaaa18.tar.bz2 |
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>
-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 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 |