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

Last commit made on 2019-12-16
Get this branch:
git clone -b gdb_fix https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

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

Recent commits

a9b42d7... by Marcin Rajwa <email address hidden> on 2019-12-16

gdb: fix wrong config flag

This patch fixes wrong config flag responsible
for inclusion of GDB files into build process.

Signed-off-by: Marcin Rajwa <email address hidden>

62dbfcf... 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>

dc539e8... by Karol Trzcinski <email address hidden> on 2019-12-09

sof: Add detailed compiler description to sof_ipc_cc_version

For XCC there is passed vendor name - set in build script.
For GCC there is passed empty string.
It will be helpful in reporting compiler dependent bugs.

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

8baa71d... by Karol Trzcinski <email address hidden> on 2019-12-09

sof: Send sof_ipc_cc_version after platform boot

Fill struct with c compiler information and send it through
mailbox to host.
Separate definition of cc_version struct to separate file and
cmake target, to pass them extra definitions from build system.
Moreover add macros to copy CC_NAME and CC_OPTIM in compilation time,
with guarantee of null termination.

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

067c46c... by Karol Trzcinski <email address hidden> on 2019-12-09

sof: Define struct sof_ipc_fw_version

It will be used send to host to fully describe compiler
and help in resolving compiler specific bugs.

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

5548b0a... by Karol Trzcinski <email address hidden> on 2019-12-09

sof: Add compiler version macros

Unify calls for compiler version and name for XCC and GCC.
Separate conversion of optimization level from Kconfig settings
to compiler flags to separate cmake function, because of usage
in two places.
Read XCC_TOOLS_VERSION from compiler.

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

152b13c... by Paul Olaru <email address hidden> on 2019-12-10

sof: spinlock: Refactor spinlock related macros

This refactor allows some extra type checking to happen which was not
permitted by a macro-only approach.

Signed-off-by: Paul Olaru <email address hidden>

29c7195... by Paul Olaru <email address hidden> on 2019-12-13

sof: spinlock: Separate typedef for spinlock_t in a separate header

This separation breaks a cyclic dependency between <sof/spinlock.h> and
<sof/drivers/interrupt.h> (which wasn't visible before).

Signed-off-by: Paul Olaru <email address hidden>

14b90a3... by Paul Olaru <email address hidden> on 2019-11-22

sof: spinlock: Remove trace_lock_value references

Recent changes in the tracing system removed the trace_value function
for it being not verbose enough to be helpful for debug. This hasn't
been caught due to debug not being tested in SOF CI.

This patch replaces this with trace_lock_error or trace_lock calls, and
adjusts the macros to support this replacement.

Signed-off-by: Paul Olaru <email address hidden>

e9bec4a... by Amery Song <email address hidden> on 2019-12-12

kmod_scripts: add support for snd_soc_cml_rt1011_rt5682

Add snd_soc_cml_rt1011_rt5682 module removal support
for CML with rt1011 and rt5682 codecs.

Signed-off-by: Amery Song <email address hidden>