OSDN Git Service

ASoC: wcd-dsp-mgr: add support for collecting memory dumps
authorBhalchandra Gajare <gajare@codeaurora.org>
Wed, 21 Sep 2016 21:36:20 +0000 (14:36 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 4 Oct 2016 18:06:42 +0000 (11:06 -0700)
commitaaa95b0cb5fe4609ac98b1bfc9ae398946f2d40c
tree59637c0367403afa527b2c57ddaa56d2193748c1
parent1e2d8b213276d3f4bfd05cbf2b97b53160474561
ASoC: wcd-dsp-mgr: add support for collecting memory dumps

The codec driver is notified through interrupt whenever the
DSP in codec is unresponsive/crashed. In such cases, collecting
dumps of the codec memory is useful in debugging the issues.
Change adds support in the wcd dsp manager driver to collect
the memory dumps upon notification of error interrupt.

Change-Id: Ib91cd4fc1476ee1a9ec448cde1a083070443f726
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
include/sound/wcd-dsp-mgr.h
sound/soc/codecs/wcd-dsp-mgr.c