]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] media: omap4iss: Make module stop timeout print a warning message
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 9 Nov 2015 22:01:56 +0000 (20:01 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 19 Nov 2015 13:14:51 +0000 (11:14 -0200)
Module stop timeouts are serious enough that they deserve a proper
warning message, not a debug message that will go unnoticed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/omap4iss/iss.c

index aa76ccda5b424f73f64776a010afcb9040ecd39f..e27a988540a6b73bb188ec52f8662f71523747c0 100644 (file)
@@ -601,8 +601,8 @@ static int iss_pipeline_disable(struct iss_pipeline *pipe,
                subdev = media_entity_to_v4l2_subdev(entity);
                ret = v4l2_subdev_call(subdev, video, s_stream, 0);
                if (ret < 0) {
-                       dev_dbg(iss->dev, "%s: module stop timeout.\n",
-                               subdev->name);
+                       dev_warn(iss->dev, "%s: module stop timeout.\n",
+                                subdev->name);
                        /* If the entity failed to stopped, assume it has
                         * crashed. Mark it as such, the ISS will be reset when
                         * applications will release it.