Skip to content

Commit 2528d95

Browse files
ujfalusiplbossart
authored andcommitted
ASoC: SOF: sof-client: Allow the message injector for IPC4 as well
The message injector now supports handling IPC4 messages, it can be enabled and be used unconditionally. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent a6d572a commit 2528d95

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎sound/soc/sof/sof-client.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ static inline void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) {}
109109
#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR)
110110
static int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev)
111111
{
112-
if (sdev->pdata->ipc_type != SOF_IPC)
113-
return 0;
114-
115112
return sof_client_dev_register(sdev, "msg_injector", 0, NULL, 0);
116113
}
117114

0 commit comments

Comments
 (0)