summaryrefslogtreecommitdiff
path: root/drivers/media/platform/ti-vpe
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 18:52:21 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 20:59:19 (GMT)
commit68bbbd7912abb7ec8633fb32342ed9049ed98ab5 (patch)
tree1fb037ea57b6bba75eb542395da3ecff2ba1ff06 /drivers/media/platform/ti-vpe
parent11b4c175d99481b239993242b14961299477491d (diff)
downloadlinux-68bbbd7912abb7ec8633fb32342ed9049ed98ab5.tar.xz
[media] ti-vpe: use true/false for boolean vars
Instead of using 0 or 1 for boolean, use the true/false defines. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/ti-vpe')
-rw-r--r--drivers/media/platform/ti-vpe/vpe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index 773b1fb..febeca7 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -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;
}