Message ID | 20170820104545.6596-1-d.scheller.oss@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c index 676c96c216c3..d9136d67f5d4 100644 --- a/drivers/media/dvb-frontends/mxl5xx.c +++ b/drivers/media/dvb-frontends/mxl5xx.c @@ -638,13 +638,14 @@ static int tune(struct dvb_frontend *fe, bool re_tune, state->tune_time = jiffies; return 0; } - if (*status & FE_HAS_LOCK) - return 0; r = read_status(fe, status); if (r) return r; + if (*status & FE_HAS_LOCK) + return 0; + return 0; }