Skip to content

Commit 1855f42

Browse files
committed
audio: module-adapter: fix a print and a comment
Simplify a warning message and fix a typo in a comment. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 1a738c9 commit 1855f42

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/audio/module_adapter/module_adapter.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ struct comp_dev *module_adapter_new_ext(const struct comp_driver *drv,
210210
comp_cl_dbg(drv, "start");
211211

212212
if (!config) {
213-
comp_cl_err(drv, "wrong input params! drv = %zx config = %zx",
214-
(size_t)drv, (size_t)config);
213+
comp_cl_err(drv, "NULL config! drv = %p", drv);
215214
return NULL;
216215
}
217216
#if CONFIG_IPC_MAJOR_4
@@ -248,8 +247,7 @@ struct comp_dev *module_adapter_new_ext(const struct comp_driver *drv,
248247
* NOTE: dst->ext_data points to stack variable and contains
249248
* pointers to IPC payload mailbox, so its only valid in
250249
* functions that called from this function. This why
251-
* the pointer is set NULL before the this function
252-
* exits.
250+
* the pointer is set NULL before this function exits.
253251
*/
254252
#if CONFIG_IPC_MAJOR_4
255253
dst->ext_data = &ext_data;

0 commit comments

Comments
 (0)