~rafadantayfa/snappy-hwe-snaps/+git/alsa-utils:alsa-lib/xenial/1.1.2

Last commit made on 2016-08-02
Get this branch:
git clone -b alsa-lib/xenial/1.1.2 https://git.launchpad.net/~rafadantayfa/snappy-hwe-snaps/+git/alsa-utils
Only Ahmed Said Dursun can upload to this branch. If you are Ahmed Said Dursun please log in for upload directions.

Branch merges

Branch information

Name:
alsa-lib/xenial/1.1.2
Repository:
lp:~rafadantayfa/snappy-hwe-snaps/+git/alsa-utils

Recent commits

1bf1440... by Jaroslav Kysela <email address hidden> on 2016-08-02

Release v1.1.2

Signed-off-by: Jaroslav Kysela <email address hidden>

ef43a00... by Jaroslav Kysela <email address hidden> on 2016-08-02

Makefile: fix sklrt286 dist files

98a0a2a... by Mengdong Lin <email address hidden> on 2016-07-22

topology: Fix the missing referenced elem ptr when merging private data

tplg_copy_data() should set the valid referenced data element pointer
on success. The caller will double check this pointer for all kinds of
references, including controls and data.

Signed-off-by: Mengdong Lin <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

776eb7f... by Mengdong Lin <email address hidden> on 2016-07-22

topology: Fix inaccurate message on failure to find a widgets's reference

A widget may have references to control or data elements. So the message
should not only use "control" here.

Signed-off-by: Mengdong Lin <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

df43c2d... by Takashi Sakamoto on 2016-07-20

ctl: use condition statements instead of assert() for new APIs to add an element set

Usage of assert() is not better practice of programming as shared library
APIs. They should return appropriate error code to promote applications to
handle error state.

This commit applies condition statements with return value of -EINVAL,
instead of assert(). As a backward compatibility for existent applications,
old APIs still call assert().

Signed-off-by: Takashi Sakamoto <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

9797e98... by Mengdong Lin <email address hidden> on 2016-07-20

topology: Check address and length before string copy

elem_copy_text() is widely used for string copy in topology. Because some
name fields are not mandatory for users, sometimes the source can be
invalid and we should not do the copy. So we add check here.

Signed-off-by: Mengdong Lin <email address hidden>
Reviewed-by: Takashi Sakamoto <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

1a0d49b... by Mengdong Lin <email address hidden> on 2016-07-20

topology: Add ATTRIBUTE_UNUSED for unused parameters to fix compiler warning

This commit adds ATTRIBUTE_UNUSED to the unused parameter 'tplg' for
function tplg_parse_streams() and tplg_parse_fe_dai(). These two functions
need to keep 'tplg' as ops for tplg_parse_compound().

The compiler warnings below are fixed:

pcm.c: In function 'tplg_parse_streams':
pcm.c:262:43: warning: unused parameter 'tplg' [-Wunused-parameter]
 static int tplg_parse_streams(snd_tplg_t *tplg, snd_config_t *cfg,
                                           ^
pcm.c: In function 'tplg_parse_fe_dai':
pcm.c:324:42: warning: unused parameter 'tplg' [-Wunused-parameter]
 static int tplg_parse_fe_dai(snd_tplg_t *tplg, snd_config_t *cfg,

Signed-off-by: Mengdong Lin <email address hidden>
Reviewed-by: Takashi Sakamoto <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

8e3e194... by Mengdong Lin <email address hidden> on 2016-07-20

topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER

This access flag is used to add controls from user space by ioctl.
But topology only configures controls in user space and these controls
will eventually be created by ASoC in kernel, so topology should not
support this flag.

Signed-off-by: Mengdong Lin <email address hidden>
Reviewed-by: Takashi Sakamoto <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

7bebd4c... by Takashi Sakamoto on 2016-07-16

ctl: rename APIs to add an element set so that their names are appropriate

In this development period, some APIs have already been added. Most of
them are to add an element set, while their names are not so appropriate
against their feature. This is due to following to names of old APIs.

This commit renames them.

Signed-off-by: Takashi Sakamoto <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

962d006... by Mengdong Lin <email address hidden> on 2016-07-15

topology: Tuple type can have an extenstion

After the type specific string ("uuid", "string", "byte", "short" and
"word"), users may append a string, like "uuidxxx". The topology parser
will check the first few characters to get the tuple type.

This can allow users to put multiple tuples of the same type into one
vendor tuple section (SectionVendorTuples), e.g. parameters of multiple
firmware modules.

Signed-off-by: Mengdong Lin <email address hidden>
Reviewed-by: Takashi Sakamoto <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>