Commit 50da3f36 authored by Steve Longerbeam's avatar Steve Longerbeam Committed by Mauro Carvalho Chehab

media: imx: silence a couple debug messages

Convert to dev_dbg the "subdev bound" and IPU-internal media-link
creation messages.
Signed-off-by: default avatarSteve Longerbeam <slongerbeam@gmail.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent f0c1210f
...@@ -24,7 +24,9 @@ static int imx_media_subdev_bound(struct v4l2_async_notifier *notifier, ...@@ -24,7 +24,9 @@ static int imx_media_subdev_bound(struct v4l2_async_notifier *notifier,
struct v4l2_subdev *sd, struct v4l2_subdev *sd,
struct v4l2_async_subdev *asd) 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; return 0;
} }
......
...@@ -32,7 +32,7 @@ static int imx_media_subdev_bound(struct v4l2_async_notifier *notifier, ...@@ -32,7 +32,7 @@ static int imx_media_subdev_bound(struct v4l2_async_notifier *notifier,
return ret; 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; return 0;
} }
......
...@@ -142,9 +142,9 @@ static int create_internal_link(struct imx_media_dev *imxmd, ...@@ -142,9 +142,9 @@ static int create_internal_link(struct imx_media_dev *imxmd,
&sink->entity.pads[link->remote_pad])) &sink->entity.pads[link->remote_pad]))
return 0; return 0;
v4l2_info(&imxmd->v4l2_dev, "%s:%d -> %s:%d\n", dev_dbg(imxmd->md.dev, "%s:%d -> %s:%d\n",
src->name, link->local_pad, src->name, link->local_pad,
sink->name, link->remote_pad); sink->name, link->remote_pad);
ret = media_create_pad_link(&src->entity, link->local_pad, ret = media_create_pad_link(&src->entity, link->local_pad,
&sink->entity, link->remote_pad, 0); &sink->entity, link->remote_pad, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment