Skip to content

Commit

Permalink
ASoC: SOF: sof-client: Allow the message injector for IPC4 as well
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ujfalusi authored and plbossart committed Mar 3, 2022
1 parent a6d572a commit 2528d95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/sof/sof-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ static inline void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) {}
#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR)
static int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev)
{
if (sdev->pdata->ipc_type != SOF_IPC)
return 0;

return sof_client_dev_register(sdev, "msg_injector", 0, NULL, 0);
}

Expand Down

0 comments on commit 2528d95

Please sign in to comment.