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

Branch merges

Branch information


Recent commits

9ddcb00... by Rander Wang <email address hidden> on 2019-12-18

dai: ALH set burst_elems

The burst length of GP-DMA should align to DMAT setting
in Audio Link Hub, or XRUN will happen. We don't change
DMAT setting since it is also used by cAVS FW.

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

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>