~canonical-hwe-team/hwe-next/+git/sof:cml-010-hot-fix

Last commit made on 2020-02-27
Get this branch:
git clone -b cml-010-hot-fix https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
cml-010-hot-fix
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

0ed0dba... by Seppo Ingalsuo <email address hidden> on 2019-12-05

Volume: Simplify volume synchronization to host

This patch removes a trivial function vol_update() and alters
vol_sync_host() to update all channels the same time into the
host data structure instead of per channel updates. There is no
other change to component operation.

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

a7aa557... by Seppo Ingalsuo <email address hidden> on 2019-12-05

Volume: Simplify ramp calculation and provide constant rate on/off

The earlier version of ramp step calculation was more complex than
necessary and there was no way to ensure the max. topology defined
ramp time happens in beginning of streaming so the step equation
was rewritten. The step value is rounded for better match with
topology defined ramp length.

Normally the ramp is constant rate type where the topology define
time happens for vol min-max transition. A smaller transition is
completed in less time.

The constant rate mode is not used for the first copy() triggered
ramp to ensure the ramp from vol min to used volume takes the
entire topology defined time. This mode is also as earlier used
for legacy kernels where the vol min/max information is not passed.

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

b393c4d... by Seppo Ingalsuo <email address hidden> on 2019-12-05

Volume: Always launch ramp in beginning of copy() operations

This patch ensures that a ramp will happen in beginning of
streaming even if the driver control sequence would not launch
it by successive volume requests for mute and actual volume.

Also a check is added into volume ramp update to prevent a volume
command in component idle state to schedule repeatedly ramp
updates. In that case the volume can be set immediately to ramp
end value.

Also the ramp is updated for active channels only. There's no need to
update for the maximum channels count.

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

c2da082... by Seppo Ingalsuo <email address hidden> on 2019-12-05

Volume: Fix for gain ramp step macro value

This patch fixes the calculation of macro VOL_RAMP_STEP_CONST
that is used in linear step size calculation. The previous version
calculated incorrectly the value as inverse. However with used ramp
update rate of 1000 us there were no issues seen because the value
and inverse were both 1.0. The bug would have triggered with with
a faster or slower ramp update rate.

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

93a9895... by Seppo Ingalsuo <email address hidden> on 2019-12-11

Volume: Fix handling of mute and unmute control

This patch fixes the issue of audio left muted after a cycle
of mute and unmute commands. The additional improvements are
applying of gain ramp for mute that helps to avoid annoying click
sounds. Also since the driver issues both volume and switch
commands back to back the duplicate scheduling of ramp update is
prevented if there is already a ramp happening. The old ramp
will operate based on new step and direction if it was changed.

Some variable names were changed in function volume_set_chan()
for better readability. The impacted trace print commands were
also updated to not split strings unnecessarily.

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

7d906a4... by Libin Yang <email address hidden> on 2020-02-25

topology: sof-icl-rt711-rt1308-rt715 add MIC MUTE LED support

Add support of MIC Mute LED for capture on
sof-icl-rt711-rt1308-rt715 platform.

Signed-off-by: Libin Yang <email address hidden>

8510383... by Libin Yang <email address hidden> on 2020-02-07

topology: add pipe-volume-switch-capture pipeline

This patch adds the capture pipeline which enables the volume and switch
controls. In the switch control, it enables capture LED controlling.

Signed-off-by: Libin Yang <email address hidden>

5e5f69e... by Janusz Jankowski <email address hidden> on 2019-12-16

interrupt: dynamic clock change for waiti

While in waiti FW should use 120mHz clock on CNL platform.

Signed-off-by: Janusz Jankowski <email address hidden>

cc4c356... by Slawomir Blauciak <email address hidden> on 2019-12-11

workaround: disable hifi3 pcm conversion

Signed-off-by: Slawomir Blauciak <email address hidden>

98d7ab2... by Lech Betlej <email address hidden> on 2019-12-09

tools: add APL key signature to sof_ri_info

A public key signature of Intel production key used to sign APL
binaries is added. The script can provide on output info if
evaluated FW image was signed with the key.

Signed-off-by: Lech Betlej <email address hidden>