aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/marvell-ccic/mcam-core.c
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2011-06-20 15:14:39 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:11 -0400
commit6c895d548c393d913152195c9e70816e13c64f9f (patch)
tree617423650be6fe0a35df5d205b7b40002dc83cbe /drivers/media/video/marvell-ccic/mcam-core.c
parent9d48a51c272782e646d75e507a66e0532327d9e5 (diff)
[media] marvell-cam: Don't spam the logs on frame loss
The sequence numbers already give that information if user space cares; this is a frequent occurrence on slower machines, alas. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/marvell-ccic/mcam-core.c')
-rw-r--r--drivers/media/video/marvell-ccic/mcam-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/marvell-ccic/mcam-core.c b/drivers/media/video/marvell-ccic/mcam-core.c
index da7ec2f473ff..ca3c56f05f0d 100644
--- a/drivers/media/video/marvell-ccic/mcam-core.c
+++ b/drivers/media/video/marvell-ccic/mcam-core.c
@@ -1263,8 +1263,6 @@ static void mcam_frame_complete(struct mcam_camera *cam, int frame)
1263 /* 1263 /*
1264 * Basic frame housekeeping. 1264 * Basic frame housekeeping.
1265 */ 1265 */
1266 if (test_bit(frame, &cam->flags) && printk_ratelimit())
1267 cam_err(cam, "Frame overrun on %d, frames lost\n", frame);
1268 set_bit(frame, &cam->flags); 1266 set_bit(frame, &cam->flags);
1269 clear_bit(CF_DMA_ACTIVE, &cam->flags); 1267 clear_bit(CF_DMA_ACTIVE, &cam->flags);
1270 if (cam->next_buf < 0) 1268 if (cam->next_buf < 0)