[media] media: omap4iss: Make module stop timeout print a warning message

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>
This commit is contained in:
Laurent Pinchart 2015-11-09 20:01:56 -02:00 committed by Mauro Carvalho Chehab
parent 769161fd2d
commit cd1e11bed2

View file

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