]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] omap3isp: use true/false for boolean vars
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 18:48:14 +0000 (15:48 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 20:59:18 +0000 (17:59 -0300)
Instead of using 0 or 1 for boolean, use the true/false
defines.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispccdc.c

index cabf46b4b64549b6b7377389e418bfbaef78e3a1..81a9dc053d5883e13844b78d99339cedc5cd7482 100644 (file)
@@ -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);