]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
media: imx: silence a couple debug messages
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 1 May 2020 17:15:55 +0000 (19:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 13:29:57 +0000 (15:29 +0200)
Convert to dev_dbg the "subdev bound" and IPU-internal media-link
creation messages.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx-media-dev-common.c
drivers/staging/media/imx/imx-media-dev.c
drivers/staging/media/imx/imx-media-internal-sd.c

index f6ad9631fa0e0d622e17e1e5b16a7c891155d661..5fe4b22ab847324efaa37177824b5a9689f823f0 100644 (file)
@@ -24,7 +24,9 @@ static int imx_media_subdev_bound(struct v4l2_async_notifier *notifier,
                                  struct v4l2_subdev *sd,
                                  struct v4l2_async_subdev *asd)
 {
-       v4l2_info(sd->v4l2_dev, "subdev %s bound\n", sd->name);
+       struct imx_media_dev *imxmd = notifier2dev(notifier);
+
+       dev_dbg(imxmd->md.dev, "subdev %s bound\n", sd->name);
 
        return 0;
 }
index 2c3c2adca68328779d26e8a394ce07a0978cc614..6d2205461e565d9f8e8ce63a9129ca88aed28df6 100644 (file)
@@ -32,7 +32,7 @@ static int imx_media_subdev_bound(struct v4l2_async_notifier *notifier,
                        return ret;
        }
 
-       v4l2_info(&imxmd->v4l2_dev, "subdev %s bound\n", sd->name);
+       dev_dbg(imxmd->md.dev, "subdev %s bound\n", sd->name);
 
        return 0;
 }
index d4237e1a4241a2829860bde9d7aa097d397d095a..da4109b2fd136bf4f3e206f7e49b9dcfff7857dd 100644 (file)
@@ -142,9 +142,9 @@ static int create_internal_link(struct imx_media_dev *imxmd,
                                   &sink->entity.pads[link->remote_pad]))
                return 0;
 
-       v4l2_info(&imxmd->v4l2_dev, "%s:%d -> %s:%d\n",
-                 src->name, link->local_pad,
-                 sink->name, link->remote_pad);
+       dev_dbg(imxmd->md.dev, "%s:%d -> %s:%d\n",
+               src->name, link->local_pad,
+               sink->name, link->remote_pad);
 
        ret = media_create_pad_link(&src->entity, link->local_pad,
                                    &sink->entity, link->remote_pad, 0);