diff options
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/lgdt3306a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c index 3451e77a2771..91d986297e02 100644 --- a/drivers/media/dvb-frontends/lgdt3306a.c +++ b/drivers/media/dvb-frontends/lgdt3306a.c @@ -1600,7 +1600,8 @@ static int lgdt3306a_tune(struct dvb_frontend *fe, bool re_tune, unsigned int mo if (re_tune) { state->current_frequency = -1; /* force re-tune */ - if ((ret = lgdt3306a_set_parameters(fe)) != 0) + ret = lgdt3306a_set_parameters(fe); + if (ret != 0) return ret; } *delay = 125; |