aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/imx/imx-media-dev-common.c
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2020-05-01 19:15:55 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-18 15:29:57 +0200
commit50da3f36e60e84f671e5bcb67f436512b43e5eac (patch)
treeb28fbb6ddcf2714ed68fcc9231af56e51507bc8e /drivers/staging/media/imx/imx-media-dev-common.c
parentmedia: imx: Create missing links from CSI-2 receiver (diff)
downloadlinux-dev-50da3f36e60e84f671e5bcb67f436512b43e5eac.tar.xz
linux-dev-50da3f36e60e84f671e5bcb67f436512b43e5eac.zip
media: imx: silence a couple debug messages
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>
Diffstat (limited to 'drivers/staging/media/imx/imx-media-dev-common.c')
-rw-r--r--drivers/staging/media/imx/imx-media-dev-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/media/imx/imx-media-dev-common.c b/drivers/staging/media/imx/imx-media-dev-common.c
index f6ad9631fa0e..5fe4b22ab847 100644
--- a/drivers/staging/media/imx/imx-media-dev-common.c
+++ b/drivers/staging/media/imx/imx-media-dev-common.c
@@ -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;
}