Skip to content

Commit

Permalink
chain_dma: fix compilation error
Browse files Browse the repository at this point in the history
Fixes compilation error when CONFIG_XRUN_NOTIFICATIONS_ENABLE is enabled.

Signed-off-by: Serhiy Katsyuba <[email protected]>
  • Loading branch information
serhiy-katsyuba-intel committed Sep 18, 2024
1 parent 0cd9c31 commit a030129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/chain_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ static struct comp_dev *chain_task_create(const struct comp_driver *drv,
goto error_cd;

#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
cd->msg_xrun = ipc_msg_init(header.dat,
cd->msg_xrun = ipc_msg_init(cdma->primary.dat,
sizeof(struct ipc4_resource_event_data_notification));
if (!cd->msg_xrun)
goto error_cd;
Expand Down
1 change: 1 addition & 0 deletions src/ipc/ipc4/notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <sof/common.h>
#include <stdbool.h>
#include <ipc4/notification.h>
#include <sof/ipc/msg.h>

#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
void xrun_notif_msg_init(struct ipc_msg *msg_xrun, uint32_t resource_id, uint32_t event_type)
Expand Down

0 comments on commit a030129

Please sign in to comment.