Message ID | f9d3de5adb4521bd377c51468b9e941615f861ba.1409775488.git.m.chehab@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Mauro, Thank you for the patch. On Wednesday 03 September 2014 17:32:50 Mauro Carvalho Chehab wrote: > Instead of using 0 or 1 for boolean, use the true/false > defines. > > Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > diff --git a/drivers/media/platform/omap3isp/ispccdc.c > b/drivers/media/platform/omap3isp/ispccdc.c index > cabf46b4b645..81a9dc053d58 100644 > --- a/drivers/media/platform/omap3isp/ispccdc.c > +++ b/drivers/media/platform/omap3isp/ispccdc.c > @@ -1806,7 +1806,7 @@ static int ccdc_video_queue(struct isp_video *video, > struct isp_buffer *buffer) spin_lock_irqsave(&ccdc->lock, flags); > if (ccdc->state == ISP_PIPELINE_STREAM_CONTINUOUS && !ccdc->running && > ccdc->bt656) > - restart = 1; > + restart = true; > else > ccdc->underrun = 1; > spin_unlock_irqrestore(&ccdc->lock, flags);
diff --git a/drivers/media/platform/omap3isp/ispccdc.c b/drivers/media/platform/omap3isp/ispccdc.c index cabf46b4b645..81a9dc053d58 100644 --- a/drivers/media/platform/omap3isp/ispccdc.c +++ b/drivers/media/platform/omap3isp/ispccdc.c @@ -1806,7 +1806,7 @@ static int ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer) spin_lock_irqsave(&ccdc->lock, flags); if (ccdc->state == ISP_PIPELINE_STREAM_CONTINUOUS && !ccdc->running && ccdc->bt656) - restart = 1; + restart = true; else ccdc->underrun = 1; spin_unlock_irqrestore(&ccdc->lock, flags);
Instead of using 0 or 1 for boolean, use the true/false defines. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>