summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cxd2820r_c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 15:22:02 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 17:59:15 -0300
commit285c0b005f387a9b1251d018aca3359497bd62a6 (patch)
treec7cdbaee46fd2789c2ba87b3d14bb46042286e44 /drivers/media/dvb-frontends/cxd2820r_c.c
parent6a5e7fde3a04ef5134702753f77e9b8aa6aab789 (diff)
downloadlwn-285c0b005f387a9b1251d018aca3359497bd62a6.tar.gz
lwn-285c0b005f387a9b1251d018aca3359497bd62a6.zip
[media] cxd2820r: 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/dvb-frontends/cxd2820r_c.c')
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_c.c b/drivers/media/dvb-frontends/cxd2820r_c.c
index 0f4657e01cde..149fdca3fb44 100644
--- a/drivers/media/dvb-frontends/cxd2820r_c.c
+++ b/drivers/media/dvb-frontends/cxd2820r_c.c
@@ -65,7 +65,7 @@ int cxd2820r_set_frontend_c(struct dvb_frontend *fe)
}
priv->delivery_system = SYS_DVBC_ANNEX_A;
- priv->ber_running = 0; /* tune stops BER counter */
+ priv->ber_running = false; /* tune stops BER counter */
/* program IF frequency */
if (fe->ops.tuner_ops.get_if_frequency) {
@@ -168,7 +168,7 @@ int cxd2820r_read_ber_c(struct dvb_frontend *fe, u32 *ber)
start_ber = 1;
}
} else {
- priv->ber_running = 1;
+ priv->ber_running = true;
start_ber = 1;
}