History

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.

Adrian Knoth committed 13 years ago

Commit b43dd411 parent 1568b881 file · +1 −1Browse files

Unified · Split

include/uapi/sound/hdspm.h+1−1
@@ -111,7 +111,7 @@ struct hdspm_ltc { · 110 unmodified lines
111111 enum hdspm_ltc_input_format input_format;
112112 };
113113
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)
115115
116116 /**
117117 * The status data reflects the device's current state

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t