media: rp1: cfe: Fix verbose debug print
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Fri, 22 Sep 2023 09:41:35 +0000 (12:41 +0300)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:02 +0000 (11:35 +0000)
The debug print in cfe_schedule_next_csi2_job() is printed every frame,
and should thus use cfe_dbg_irq() to avoid spamming, rather than cfe_dbg().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/media/platform/raspberrypi/rp1_cfe/cfe.c

index 0c74356..1a1b5c9 100644 (file)
@@ -518,8 +518,8 @@ static void cfe_schedule_next_csi2_job(struct cfe_device *cfe)
                node->next_frm = buf;
                list_del(&buf->list);
 
-               cfe_dbg("%s: [%s] buffer:%p\n",
-                       __func__, node_desc[node->id].name, &buf->vb.vb2_buf);
+               cfe_dbg_irq("%s: [%s] buffer:%p\n", __func__,
+                           node_desc[node->id].name, &buf->vb.vb2_buf);
 
                if (is_meta_node(node)) {
                        size = node->fmt.fmt.meta.buffersize;