summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-07-24 15:08:18 +0000
committerHolger Waechtler <devnull@localhost>2003-07-24 15:08:18 +0000
commit61b4238ea47af203005dce5c956d969cb591c816 (patch)
tree49fec0adce076750e98096dab20d5aa6814c257d /linux/drivers/media
parent9d24eb26998c80e3264995ba009ed05fbf09f0a1 (diff)
downloadmediapointer-dvb-s2-61b4238ea47af203005dce5c956d969cb591c816.tar.gz
mediapointer-dvb-s2-61b4238ea47af203005dce5c956d969cb591c816.tar.bz2
bend only for different adapters...
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 20bb2f137..21f75eaeb 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -134,6 +134,7 @@ static void dvb_bend_frequency (struct dvb_frontend_data *this_fe, int recursive
{
struct list_head *entry;
int stepsize = this_fe->info->frequency_stepsize;
+ int this_fe_adap_num = this_fe->frontend.i2c->adapter->num;
int frequency;
if (!stepsize || recursive > 10) {
@@ -157,6 +158,9 @@ static void dvb_bend_frequency (struct dvb_frontend_data *this_fe, int recursive
fe = list_entry (entry, struct dvb_frontend_data, list_head);
+ if (fe->frontend.i2c->adapter->num != this_fe_adap_num)
+ continue;
+
f = fe->parameters.frequency;
f += fe->lnb_drift;
f += fe->bending;