aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 15:08:11 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 17:59:14 -0300
commit22bf3deb7ee483167edd8ec1aecfb9928a759580 (patch)
treed8dae658d5af0d12b24b1fa93964bc15a395f5cc /drivers/media/v4l2-core
parent[media] em28xx: use true/false for boolean vars (diff)
downloadlinux-dev-22bf3deb7ee483167edd8ec1aecfb9928a759580.tar.xz
linux-dev-22bf3deb7ee483167edd8ec1aecfb9928a759580.zip
[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>
Diffstat (limited to 'drivers/media/v4l2-core')
-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,
t->name = "(tuner unset)";
t->type = UNSET;
t->audmode = V4L2_TUNER_MODE_STEREO;
- t->standby = 1;
+ t->standby = true;
t->radio_freq = 87.5 * 16000; /* Initial freq range */
t->tv_freq = 400 * 16; /* Sets freq to VHF High - needed for some PLL's to properly start */