]> Pileus Git - ~andy/linux/blobdiff - drivers/media/common/tuners/tuner-xc2028.c
[media] tuner-xc2028: add missing else case
[~andy/linux] / drivers / media / common / tuners / tuner-xc2028.c
index ea0550eafe7d185f9d547a80af33cead4d007050..49e63ec040b60f9e451b4c539e79bba45e86721d 100644 (file)
@@ -1414,8 +1414,8 @@ static int xc2028_set_config(struct dvb_frontend *fe, void *priv_cfg)
                        tuner_err("Failed to request firmware %s\n",
                                  priv->fname);
                        priv->state = XC2028_NODEV;
-               }
-               priv->state = XC2028_WAITING_FIRMWARE;
+               } else
+                       priv->state = XC2028_WAITING_FIRMWARE;
        }
        mutex_unlock(&priv->lock);