]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ctl: remove unused macro for timestamping of elem_value
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 23 Dec 2019 02:39:18 +0000 (11:39 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Dec 2019 14:57:34 +0000 (15:57 +0100)
commitbb233fb49a4bf90b63e828e5f32bb1ba25944b75
treee4073b2898fc0ecb9eb93415b8a7a5cb71a817da
parentb352a378b1cd2c4a2f5cdb87e9cf600de2931c56
ALSA: ctl: remove unused macro for timestamping of elem_value

In a former commit, 'tstamp' member was removed from 'struct
snd_ctl_elem_value' in a middle way toward solution of Y2038 issue. In a
protocol of ALSA control interface, this member is designed to deliver
timestamp information in the value structure when the target element
supports SNDRV_CTL_ELEM_ACCESS_TIMESTAMP flag.

Actually, the feature is neither used by kernel space nor user space,
especiall alsa-lib has no API for the feature. Therefore it's reasonable
to remove both of them. Practically, the timestamp information
corresponds to no information about type of clock ID. It can bring
confusions to applications.

Reference: f80a49226129 ("ALSA: Avoid using timespec for struct snd_ctl_elem_value")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191223023921.8151-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asound.h