Skip to content

Commit e9cfc62

Browse files
author
Jyri Sarha
committed
fixup! ASoC: SOF: sof-client-probes-ipc4: Implement ipc4_probes_points_info
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 9e65e00 commit e9cfc62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/sof/sof-client-probes-ipc4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static int ipc4_probes_points_info(struct sof_client_dev *cdev,
230230
default:
231231
dev_err(dev, "%s: info type %u not supported", __func__, type);
232232
return -EOPNOTSUPP;
233-
};
233+
}
234234

235235
msg.primary = mentry->id;
236236
msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
@@ -252,7 +252,7 @@ static int ipc4_probes_points_info(struct sof_client_dev *cdev,
252252
*num_desc = info->num_elems;
253253
dev_dbg(dev, "%s: got %zu probe points", __func__, *num_desc);
254254

255-
*desc = kzalloc(*num_desc * sizeof(*desc), GFP_KERNEL);
255+
*desc = kzalloc(*num_desc * sizeof(**desc), GFP_KERNEL);
256256
if (!*desc) {
257257
kfree(msg.data_ptr);
258258
return -ENOMEM;

0 commit comments

Comments
 (0)