Skip to content

Commit

Permalink
V4L/DVB (6550): tda8290: return -ENODEV on probe failures
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 232fcef commit 1f3a4e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/tda8290.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ static int tda8290_probe(struct tuner_i2c_props *i2c_props)
return 0;
}

return -1;
return -ENODEV;
}

static int tda8295_probe(struct tuner_i2c_props *i2c_props)
Expand All @@ -669,7 +669,7 @@ static int tda8295_probe(struct tuner_i2c_props *i2c_props)
return 0;
}

return -1;
return -ENODEV;
}

static struct analog_tuner_ops tda8290_tuner_ops = {
Expand Down Expand Up @@ -766,7 +766,7 @@ int tda829x_probe(struct tuner *t)
}
}
tuner_i2c_xfer_send(&i2c_props, restore_9886, 3);
return -1;
return -ENODEV;
}
EXPORT_SYMBOL_GPL(tda829x_probe);

Expand Down

0 comments on commit 1f3a4e3

Please sign in to comment.