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.
Unified · Split
| @@ -111,7 +111,7 @@ struct hdspm_ltc { · 110 unmodified lines | |||
| 111 | enum hdspm_ltc_input_format input_format; | 111 | enum hdspm_ltc_input_format input_format; |
| 112 | }; | 112 | }; |
| 113 | 113 | ||
| 114 | #define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_mixer_ioctl) | 114 | #define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_ltc) |
| 115 | 115 | ||
| 116 | /** | 116 | /** |
| 117 | * The status data reflects the device's current state | 117 | * The status data reflects the device's current state |