diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2019-06-03 11:18:19 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-03 18:42:27 +0100 |
commit | 53b22d25ec36cebc2f5888a0bd5fba84b05f3dee (patch) | |
tree | dc2018004ec9c1f9b70523267b891f669efdde56 /sound/soc/sof/ipc.c | |
parent | e3adc9495ab26fc4bfe29253d4e7aad47dab2307 (diff) | |
download | linux-stable-53b22d25ec36cebc2f5888a0bd5fba84b05f3dee.tar.gz linux-stable-53b22d25ec36cebc2f5888a0bd5fba84b05f3dee.tar.bz2 linux-stable-53b22d25ec36cebc2f5888a0bd5fba84b05f3dee.zip |
ASoC: SOF: ipc: Introduce SOF_IPC_GLB_TEST_MSG IPC command
Add a new class of IPC command along with the first
test type, IPC_FLOOD, which will be used for flooding the DSP
with IPCs.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@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/ipc.c')
-rw-r--r-- | sound/soc/sof/ipc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/sof/ipc.c b/sound/soc/sof/ipc.c index 2414640a32d1..558b596e2133 100644 --- a/sound/soc/sof/ipc.c +++ b/sound/soc/sof/ipc.c @@ -175,6 +175,15 @@ static void ipc_log_header(struct device *dev, u8 *text, u32 cmd) break; case SOF_IPC_GLB_TRACE_MSG: str = "GLB_TRACE_MSG"; break; + case SOF_IPC_GLB_TEST_MSG: + str = "GLB_TEST_MSG"; + switch (type) { + case SOF_IPC_TEST_IPC_FLOOD: + str2 = "IPC_FLOOD"; break; + default: + str2 = "unknown type"; break; + } + break; default: str = "unknown GLB command"; break; } |