diff options
-rw-r--r-- | drivers/media/dvb/frontends/ds3000.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/ds3000.c b/drivers/media/dvb/frontends/ds3000.c index 7f3d118287c4..90bf573308b0 100644 --- a/drivers/media/dvb/frontends/ds3000.c +++ b/drivers/media/dvb/frontends/ds3000.c | |||
@@ -1220,9 +1220,20 @@ static int ds3000_set_frontend(struct dvb_frontend *fe, | |||
1220 | } | 1220 | } |
1221 | 1221 | ||
1222 | static int ds3000_tune(struct dvb_frontend *fe, | 1222 | static int ds3000_tune(struct dvb_frontend *fe, |
1223 | struct dvb_frontend_parameters *p) | 1223 | struct dvb_frontend_parameters *p, |
1224 | unsigned int mode_flags, | ||
1225 | unsigned int *delay, | ||
1226 | fe_status_t *status) | ||
1224 | { | 1227 | { |
1225 | return ds3000_set_frontend(fe, p); | 1228 | if (p) { |
1229 | int ret = ds3000_set_frontend(fe, p); | ||
1230 | if (ret) | ||
1231 | return ret; | ||
1232 | } | ||
1233 | |||
1234 | *delay = HZ / 5; | ||
1235 | |||
1236 | return ds3000_read_status(fe, status); | ||
1226 | } | 1237 | } |
1227 | 1238 | ||
1228 | static enum dvbfe_algo ds3000_get_algo(struct dvb_frontend *fe) | 1239 | static enum dvbfe_algo ds3000_get_algo(struct dvb_frontend *fe) |