~canonical-hwe-team/hwe-next/+git/sof:volume_fix_4ch_unique_gains

Last commit made on 2020-09-23
Get this branch:
git clone -b volume_fix_4ch_unique_gains https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
volume_fix_4ch_unique_gains
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

fb19e7f... by Seppo Ingalsuo <email address hidden> on 2020-09-22

Audio: Continue volume ramp until all channels are complete

The volume component works correct when all channels receive the same
gain value in volume set command.

This patch fixes a bug that is triggered by applying different
gain values for the channels. The logic with setting cd->ramp_finished
to true caused the check in volume copy() to no more call volume_ramp()
when one of the channel reached their target volume. When the ramp
updating was stopped all other channels remain in intermediate gain
value.

In the fix the logic is set to opposite. Whenever a channel needs a ramp
update it sets a temporary flag. The ramp finish is set only when
no channels needed gain update.

Fixes #3455

Signed-off-by: Seppo Ingalsuo <email address hidden>

7bda1c8... by Ranjani Sridharan <email address hidden> on 2020-09-23

config: cht: remove tone comp

Remove tone from the cht defconfig to reduxe code size.

Signed-off-by: Ranjani Sridharan <email address hidden>

5abdf37... by Ranjani Sridharan <email address hidden> on 2020-09-22

volume: fix get_cmd() for SWITCH command

Switch controls can only have 0/1 for values. Fix the get_cmd() callback
to return the channel mute status for SWITCH commands instead
of the current volume gain.

Signed-off-by: Ranjani Sridharan <email address hidden>

cad15f0... by Karol Trzcinski <email address hidden> on 2020-09-22

rimage: Use only standard error codes

Error codes like ENOKEY and EBADE are not provide for all windows
toolchains, so to limit possible build errors, some more standard
error codes should be used.
Detailed error message is printed in stderr, so end user still
will be well informed about error root cause.

Signed-off-by: Karol Trzcinski <email address hidden>

20fbbe7... by Keyon Jie <email address hidden> on 2020-09-21

topology: pipe-amp-ref-capture: correct the setting of ref channels

The naming should be SMART_REF_CH_NUM and value should be 4 for 4
speakers, correct it.

Fixes: 399b97afe6 ("topology: Modify init params for the Demux Config")
Signed-off-by: Keyon Jie <email address hidden>

739554d... by Keyon Jie <email address hidden> on 2020-09-21

topology: sof-tgl-nocodec-ci: remove KWD pipelines as not available

We can't test KWD on nocodec machines due to the DAPM issues reported
here: https://github.com/thesofproject/linux/issues/1987

Remove KWD pipelines from sof-tgl-nocodec-ci to avoid performing invalid
test on it.

Signed-off-by: Keyon Jie <email address hidden>

0a24792... by Marc Herbert <email address hidden> on 2020-09-19

travis: upgrade distribution to Ubuntu 20.04

The current default Travis default is 16.04 which is obsolete.

From https://github.com/thesofproject/linux/pull/2402

> Everyone uses 20.04, period. SOF CI also uses 20.04.

Signed-off-by: Marc Herbert <email address hidden>

aa20048... by Marc Herbert <email address hidden> on 2020-09-19

travis: fold long lines; fixes the last yamllint warnings

yamllint clean.

Signed-off-by: Marc Herbert <email address hidden>

6e98d9d... by Marc Herbert <email address hidden> on 2020-08-10

CODEOWNERS: really add marc-hb to scripts

Fixes commit 757b13c123b1 ("CODEOWNERS: scripts/ += marc-hb")

Also add *.bash which we don't use yet but should considering how
not portable is the vast majority of our scripts.

Signed-off-by: Marc Herbert <email address hidden>

c40749b... by Marc Herbert <email address hidden> on 2020-08-10

CODEOWNERS: fix path to dmic.

Fixes commit f545e3e832ec ("dmic: move dmic driver out of the cavs
specific directory")'

Signed-off-by: Marc Herbert <email address hidden>