aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c5
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.h1
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c21
-rw-r--r--drivers/media/dvb/frontends/stv0900_core.c7
4 files changed, 1 insertions, 33 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index c10916d27b31..b1ab866743fd 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -637,10 +637,7 @@ restart:
637 } 637 }
638 } 638 }
639 /* Track the carrier if the search was successful */ 639 /* Track the carrier if the search was successful */
640 if (fepriv->algo_status == DVBFE_ALGO_SEARCH_SUCCESS) { 640 if (fepriv->algo_status != DVBFE_ALGO_SEARCH_SUCCESS) {
641 if (fe->ops.track)
642 fe->ops.track(fe, &fepriv->parameters_in);
643 } else {
644 fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN; 641 fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN;
645 fepriv->delay = HZ / 2; 642 fepriv->delay = HZ / 2;
646 } 643 }
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h b/drivers/media/dvb/dvb-core/dvb_frontend.h
index 24dae26e3e2b..93715d6755f4 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -307,7 +307,6 @@ struct dvb_frontend_ops {
307 * tuning algorithms, rather than a simple swzigzag 307 * tuning algorithms, rather than a simple swzigzag
308 */ 308 */
309 enum dvbfe_search (*search)(struct dvb_frontend *fe); 309 enum dvbfe_search (*search)(struct dvb_frontend *fe);
310 int (*track)(struct dvb_frontend *fe, struct dvb_frontend_parameters *p);
311 310
312 struct dvb_tuner_ops tuner_ops; 311 struct dvb_tuner_ops tuner_ops;
313 struct analog_demod_ops analog_ops; 312 struct analog_demod_ops analog_ops;
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 93afc7960fb3..9fad6274f19b 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1568,26 +1568,6 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe)
1568 1568
1569 return DVBFE_ALGO_SEARCH_ERROR; 1569 return DVBFE_ALGO_SEARCH_ERROR;
1570} 1570}
1571/*
1572 * stb0899_track
1573 * periodically check the signal level against a specified
1574 * threshold level and perform derotator centering.
1575 * called once we have a lock from a successful search
1576 * event.
1577 *
1578 * Will be called periodically called to maintain the
1579 * lock.
1580 *
1581 * Will be used to get parameters as well as info from
1582 * the decoded baseband header
1583 *
1584 * Once a new lock has established, the internal state
1585 * frequency (internal->freq) is updated
1586 */
1587static int stb0899_track(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
1588{
1589 return 0;
1590}
1591 1571
1592static int stb0899_get_frontend(struct dvb_frontend *fe, struct dtv_frontend_properties *p) 1572static int stb0899_get_frontend(struct dvb_frontend *fe, struct dtv_frontend_properties *p)
1593{ 1573{
@@ -1647,7 +1627,6 @@ static struct dvb_frontend_ops stb0899_ops = {
1647 1627
1648 .get_frontend_algo = stb0899_frontend_algo, 1628 .get_frontend_algo = stb0899_frontend_algo,
1649 .search = stb0899_search, 1629 .search = stb0899_search,
1650 .track = stb0899_track,
1651 .get_frontend = stb0899_get_frontend, 1630 .get_frontend = stb0899_get_frontend,
1652 1631
1653 1632
diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c
index 83e9a8145318..8af1e6245160 100644
--- a/drivers/media/dvb/frontends/stv0900_core.c
+++ b/drivers/media/dvb/frontends/stv0900_core.c
@@ -1658,12 +1658,6 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status)
1658 return 0; 1658 return 0;
1659} 1659}
1660 1660
1661static int stv0900_track(struct dvb_frontend *fe,
1662 struct dvb_frontend_parameters *p)
1663{
1664 return 0;
1665}
1666
1667static int stv0900_stop_ts(struct dvb_frontend *fe, int stop_ts) 1661static int stv0900_stop_ts(struct dvb_frontend *fe, int stop_ts)
1668{ 1662{
1669 1663
@@ -1891,7 +1885,6 @@ static struct dvb_frontend_ops stv0900_ops = {
1891 .diseqc_recv_slave_reply = stv0900_recv_slave_reply, 1885 .diseqc_recv_slave_reply = stv0900_recv_slave_reply,
1892 .set_tone = stv0900_set_tone, 1886 .set_tone = stv0900_set_tone,
1893 .search = stv0900_search, 1887 .search = stv0900_search,
1894 .track = stv0900_track,
1895 .read_status = stv0900_read_status, 1888 .read_status = stv0900_read_status,
1896 .read_ber = stv0900_read_ber, 1889 .read_ber = stv0900_read_ber,
1897 .read_signal_strength = stv0900_read_signal_strength, 1890 .read_signal_strength = stv0900_read_signal_strength,