diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2019-06-12 19:57:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-13 21:53:57 +0300 |
commit | f1fd9d0e6dbae9c7cdd7e82fe3055ec7b790abb6 (patch) | |
tree | c6d5577e3b367ac49c6212d3176948b5d9ebdcaf /sound/soc/sof/intel/cnl.c | |
parent | b943f798011346589bd9ae994e5755e776756a31 (diff) | |
download | linux-f1fd9d0e6dbae9c7cdd7e82fe3055ec7b790abb6.tar.xz |
ASoC: SOF: intel: extend IPC dump information
Extend the HDA IPC dump implementation with status of key IRQ
registers. This is useful to debug IPC timeouts and similar
issues.
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/intel/cnl.c')
-rw-r--r-- | sound/soc/sof/intel/cnl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/cnl.c b/sound/soc/sof/intel/cnl.c index 9a4927b6b6ae..d59305787fc3 100644 --- a/sound/soc/sof/intel/cnl.c +++ b/sound/soc/sof/intel/cnl.c @@ -168,6 +168,8 @@ static void cnl_ipc_dump(struct snd_sof_dev *sdev) u32 hipcida; u32 hipctdr; + hda_ipc_irq_dump(sdev); + /* read IPC status */ hipcida = snd_sof_dsp_read(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDA); hipcctl = snd_sof_dsp_read(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCCTL); |