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

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/sound/hdspm.h+1−1
@@ -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 state117 * 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