]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce3626d41092c0238565ff406b375c86c9a8dd77
tree70c54d980480bc079673e10463c99fe4d83e9540
parent10e052bf95e07429eea668b7cf8915c332c90e6f
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