Merge tag 'media/v3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[firefly-linux-kernel-4.4.55.git] / drivers / media / dvb-frontends / cxd2820r_core.c
index 51ef893126151071c511cd7f9e77242507f6065b..422e84bbb008ffe685fb149f529c27ce4957cc70 100644 (file)
@@ -564,10 +564,10 @@ static enum dvbfe_search cxd2820r_search(struct dvb_frontend *fe)
 
        /* check if we have a valid signal */
        if (status & FE_HAS_LOCK) {
-               priv->last_tune_failed = 0;
+               priv->last_tune_failed = false;
                return DVBFE_ALGO_SEARCH_SUCCESS;
        } else {
-               priv->last_tune_failed = 1;
+               priv->last_tune_failed = true;
                return DVBFE_ALGO_SEARCH_AGAIN;
        }