OSDN Git Service

media: atomisp: Silence: 'atomisp_q_one_s3a_buffer: drop one s3a stat which has exp_i...
authorHans de Goede <hdegoede@redhat.com>
Thu, 20 Oct 2022 19:56:17 +0000 (20:56 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:17:28 +0000 (08:17 +0000)
Standard v4l2 userspace apps do not consume the s3a statistics block
data. Until we have a userspace consumer for this (libcamera), which
might also involve changing the API for this, lower the log level
of these messages to dev_dbg() to avoid them filling up the logs.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_fops.c

index f3f5b54..101663a 100644 (file)
@@ -181,8 +181,7 @@ static int atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd,
        } else {
                list_add_tail(&s3a_buf->list, &asd->s3a_stats_in_css);
                if (s3a_list == &asd->s3a_stats_ready)
-                       dev_warn(asd->isp->dev, "%s: drop one s3a stat which has exp_id %d!\n",
-                                __func__, exp_id);
+                       dev_dbg(asd->isp->dev, "drop one s3a stat with exp_id %d\n", exp_id);
        }
 
        asd->s3a_bufs_in_css[css_pipe_id]++;