[media] tuner-xc2028: fix "=" vs "==" typo
[deliverable/linux.git] / drivers / media / common / tuners / tuner-xc2028.c
index f88f948efee2e51fd39f2e98d74d696f08924f5b..9e602856b2faee5817ec9d6abc88cee00e359c4f 100644 (file)
@@ -756,7 +756,7 @@ retry:
         * No need to reload base firmware if it matches and if the tuner
         * is not at sleep mode
         */
-       if ((priv->state = XC2028_ACTIVE) &&
+       if ((priv->state == XC2028_ACTIVE) &&
            (((BASE | new_fw.type) & BASE_TYPES) ==
            (priv->cur_fw.type & BASE_TYPES))) {
                tuner_dbg("BASE firmware not changed.\n");
This page took 0.023964 seconds and 5 git commands to generate.