[alsa-devel] [PATCH 0/2] ALSA: control: export all of TLV related macros to user land
Takashi Iwai
tiwai at suse.de
Thu Sep 15 08:15:33 CEST 2016
On Thu, 15 Sep 2016 00:25:18 +0200,
Takashi Sakamoto wrote:
>
> Hi,
>
> This patchset updates my previous RFCs, and they're now for merging to upstream.
>
> [alsa-devel] [RFC][PATCH 0/2] ALSA: control: export all of TLV related macros to user land
> http://mailman.alsa-project.org/pipermail/alsa-devel/2016-September/112645.html
>
> Currently, TLV related protocol is not shared to user land. This is not
> good in a point of application interfaces, because application developers
> can't realize the protocol just to see UAPI headers, and they're forced to
> look for TLV-related codes in kernel land.
>
> This patchset moves all of macros related to TLV into UAPI header. To avoid
> confusions such as name conflict in user land, these macros have prefixes of
> 'SNDRV_CTL_TLVT_' and 'SNDRV_CTL_TLVD_'. When adding new items to the protocol,
> developers should use these prefixes and add them to the UAPI header.
>
> Changes from RFC:
> - Drop second patch to replace include statements
> - Rename each macros to prevent applications from name conflict
This looks far better now, thanks.
Applied now.
Takashi
More information about the Alsa-devel
mailing list