aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 14:08:11 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 16:59:14 -0400
commit22bf3deb7ee483167edd8ec1aecfb9928a759580 (patch)
treed8dae658d5af0d12b24b1fa93964bc15a395f5cc
parent7e6c8c1981b675c90820f55e5c03b83ae4ac3a43 (diff)
[media] tuner-core: 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/v4l2-core/tuner-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/tuner-core.c b/drivers/media/v4l2-core/tuner-core.c
index 177023200737..559f8372e2eb 100644
--- a/drivers/media/v4l2-core/tuner-core.c
+++ b/drivers/media/v4l2-core/tuner-core.c
@@ -601,7 +601,7 @@ static int tuner_probe(struct i2c_client *client,
601 t->name = "(tuner unset)"; 601 t->name = "(tuner unset)";
602 t->type = UNSET; 602 t->type = UNSET;
603 t->audmode = V4L2_TUNER_MODE_STEREO; 603 t->audmode = V4L2_TUNER_MODE_STEREO;
604 t->standby = 1; 604 t->standby = true;
605 t->radio_freq = 87.5 * 16000; /* Initial freq range */ 605 t->radio_freq = 87.5 * 16000; /* Initial freq range */
606 t->tv_freq = 400 * 16; /* Sets freq to VHF High - needed for some PLL's to properly start */ 606 t->tv_freq = 400 * 16; /* Sets freq to VHF High - needed for some PLL's to properly start */
607 607