diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 14:52:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 16:59:19 -0400 |
commit | 68bbbd7912abb7ec8633fb32342ed9049ed98ab5 (patch) | |
tree | 1fb037ea57b6bba75eb542395da3ecff2ba1ff06 | |
parent | 11b4c175d99481b239993242b14961299477491d (diff) |
[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>
-rw-r--r-- | drivers/media/platform/ti-vpe/vpe.c | 4 |
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 773b1fbf3269..febeca70211b 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) | |||
835 | VPDMA_STRIDE_ALIGN); | 835 | VPDMA_STRIDE_ALIGN); |
836 | mv_buf_size = bytes_per_line * s_q_data->height; | 836 | mv_buf_size = bytes_per_line * s_q_data->height; |
837 | 837 | ||
838 | ctx->deinterlacing = 1; | 838 | ctx->deinterlacing = true; |
839 | src_h <<= 1; | 839 | src_h <<= 1; |
840 | } else { | 840 | } else { |
841 | ctx->deinterlacing = 0; | 841 | ctx->deinterlacing = false; |
842 | mv_buf_size = 0; | 842 | mv_buf_size = 0; |
843 | } | 843 | } |
844 | 844 | ||