Commit 11b4c175 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] omap3isp: use true/false for boolean vars

Instead of using 0 or 1 for boolean, use the true/false
defines.
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent cdde1a9b
...@@ -1806,7 +1806,7 @@ static int ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer) ...@@ -1806,7 +1806,7 @@ static int ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer)
spin_lock_irqsave(&ccdc->lock, flags); spin_lock_irqsave(&ccdc->lock, flags);
if (ccdc->state == ISP_PIPELINE_STREAM_CONTINUOUS && !ccdc->running && if (ccdc->state == ISP_PIPELINE_STREAM_CONTINUOUS && !ccdc->running &&
ccdc->bt656) ccdc->bt656)
restart = 1; restart = true;
else else
ccdc->underrun = 1; ccdc->underrun = 1;
spin_unlock_irqrestore(&ccdc->lock, flags); spin_unlock_irqrestore(&ccdc->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment