Skip to content

Commit

Permalink
media: imx: silence a couple debug messages
Browse files Browse the repository at this point in the history
Convert to dev_dbg the "subdev bound" and IPU-internal media-link
creation messages.

Signed-off-by: Steve Longerbeam <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
slongerbeam authored and mchehab committed May 18, 2020
1 parent f0c1210 commit 50da3f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion drivers/staging/media/imx/imx-media-dev-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/media/imx/imx-media-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/media/imx/imx-media-internal-sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 50da3f3

Please sign in to comment.