]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] ti-vpe: use true/false for boolean vars
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 18:52:21 +0000 (15:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 20:59:19 +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/ti-vpe/vpe.c

index 773b1fbf3269bcb5b15e26cd1b69c8b447dfa559..febeca70211b946c1f068eb7b60b1d976f4e26a4 100644 (file)
@@ -835,10 +835,10 @@ static int set_srcdst_params(struct vpe_ctx *ctx)
                                        VPDMA_STRIDE_ALIGN);
                mv_buf_size = bytes_per_line * s_q_data->height;
 
-               ctx->deinterlacing = 1;
+               ctx->deinterlacing = true;
                src_h <<= 1;
        } else {
-               ctx->deinterlacing = 0;
+               ctx->deinterlacing = false;
                mv_buf_size = 0;
        }