diff options
author | Hans Petter Selasky <hselasky@c2i.net> | 2012-08-03 10:34:05 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-12 12:43:44 +0400 |
commit | 1e9c14f7d2a8c29968266d3854f51f127d3b8b32 (patch) | |
tree | bfa1486bd65bf1e92ba2c542ab96b4041b883490 /drivers/media/common/tuners | |
parent | b50b3e0732845563626c8e40f8b6eed92172cd10 (diff) | |
download | linux-1e9c14f7d2a8c29968266d3854f51f127d3b8b32.tar.xz |
[media] tuner-xc2028: add missing else case
>From 59306435992d9349f10ad82a8adf14d98becbbe8 Mon Sep 17 00:00:00 2001
Signed-off-by: Hans Petter Selasky <hselasky@c2i.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners')
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index ea0550eafe7d..49e63ec040b6 100644 --- a/drivers/media/common/tuners/tuner-xc2028.c +++ b/drivers/media/common/tuners/tuner-xc2028.c @@ -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); |