diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2019-06-03 18:18:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-03 18:56:38 +0200 |
commit | 14104eb6a351a5bad21fdd2cf05ca46ad5e5beab (patch) | |
tree | 8318963b9a795666a7801e09f9827a1da3c0ff53 /sound/soc/sof/xtensa | |
parent | ASoC: hda: fix unbalanced codec dev refcount for HDA_DEV_ASOC (diff) | |
download | linux-14104eb6a351a5bad21fdd2cf05ca46ad5e5beab.tar.xz linux-14104eb6a351a5bad21fdd2cf05ca46ad5e5beab.zip |
ASoC: SOF: fix DSP oops definitions in FW ABI
The definitions for DSP oops structures were not aligned
correctly to current FW ABI version 3.6.0, leading to
invalid data being printed out to debug logs. Fix the structs
and update related platform code accordingly.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/xtensa')
-rw-r--r-- | sound/soc/sof/xtensa/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/xtensa/core.c b/sound/soc/sof/xtensa/core.c index c3ad23a85b99..46a4905a9dce 100644 --- a/sound/soc/sof/xtensa/core.c +++ b/sound/soc/sof/xtensa/core.c @@ -110,7 +110,7 @@ static void xtensa_stack(struct snd_sof_dev *sdev, void *oops, u32 *stack, u32 stack_words) { struct sof_ipc_dsp_oops_xtensa *xoops = oops; - u32 stack_ptr = xoops->stack; + u32 stack_ptr = xoops->plat_hdr.stackptr; /* 4 * 8chars + 3 ws + 1 terminating NUL */ unsigned char buf[4 * 8 + 3 + 1]; int i; |