lkml.org 
[lkml]   [2003]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2/6] [DVB] DVB core update
Date
From
[DVB] - if there are multiple adapters, bend the tuning frequency only if the adapters differ
diff -uNrwB --new-file linux-2.6.0-test2.work/drivers/media/dvb/dvb-core/dvb_frontend.c linux-2.6.0-test2.patch/drivers/media/dvb/dvb-core/dvb_frontend.c
--- linux-2.6.0-test2.work/drivers/media/dvb/dvb-core/dvb_frontend.c 2003-07-29 09:10:18.000000000 +0200
+++ linux-2.6.0-test2.patch/drivers/media/dvb/dvb-core/dvb_frontend.c 2003-07-29 09:17:52.000000000 +0200
@@ -134,6 +134,7 @@
{
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 @@

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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.091 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site