Commit 10778f7b authored by Michael Hunold's avatar Michael Hunold Committed by Linus Torvalds

[PATCH] DVB core update

[DVB] - if there are multiple adapters, bend the tuning frequency only if the adapters differ
parent ce040cd1
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment