ASoC: wm_adsp: Add HALO MPU fault logging
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 19 Mar 2019 11:52:14 +0000 (11:52 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Mar 2019 13:00:25 +0000 (13:00 +0000)
commit2ae581380e4da6b1b9eff37cb087e3788ec82c67
tree70c54d980480bc079673e10463c99fe4d83e9540
parent170b1e123f385e7d60e992bc7fb1cc2897520769
ASoC: wm_adsp: Add HALO MPU fault logging

A Halo Core DSP has a memory protection unit that can trap and signal
memory access faults. This patch adds a function that dumps the fault
information.

The interrupt reaches the host via the parent codec interrupt controller
so this fault function is exported to be called by the codec driver.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h