From 61b4238ea47af203005dce5c956d969cb591c816 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Thu, 24 Jul 2003 15:08:18 +0000 Subject: bend only for different adapters... --- linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux/drivers/media') 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; -- cgit v1.2.3