From 9a2931f55ebba61d66a2c428389183e551b6c874 Mon Sep 17 00:00:00 2001 From: Vamshi Krishna Gopal Date: Wed, 7 Sep 2022 11:50:04 +0530 Subject: [PATCH] ghd: Fix build error for ghd Size parameter is moved from struct sof_ipc_reply to struct sof_ipc_cmd_hdr. Added changes accordingly. Signed-off-by: Vamshi Krishna Gopal --- src/audio/google_hotword_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/google_hotword_detect.c b/src/audio/google_hotword_detect.c index 25cf80d13c70..f0f71979ad59 100644 --- a/src/audio/google_hotword_detect.c +++ b/src/audio/google_hotword_detect.c @@ -116,7 +116,7 @@ static struct comp_dev *ghd_create(const struct comp_driver *drv, cd->event.event_type = SOF_CTRL_EVENT_KD; cd->event.num_elems = 0; - cd->msg = ipc_msg_init(cd->event.rhdr.hdr.cmd, cd->event.rhdr.size); + cd->msg = ipc_msg_init(cd->event.rhdr.hdr.cmd, cd->event.rhdr.hdr.size); if (!cd->msg) { comp_err(dev, "ghd_create(): ipc_msg_init failed"); goto cd_fail;