Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76562
b: refs/heads/master
c: fa746ae
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent a9c8cf8 commit 1fa3d35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7919d520f4c9a064ae14bc4dd170c4c12ead2af
refs/heads/master: fa746aee336fedfe25e6945e5967399966948420
7 changes: 6 additions & 1 deletion trunk/drivers/media/video/tda8290.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ int tda829x_attach(struct tuner *t)
}

if (tda829x_find_tuner(fe) < 0)
return -EINVAL;
goto fail;

if (priv->ver & TDA8290) {
tda8290_init_tuner(fe);
Expand All @@ -717,6 +717,11 @@ int tda829x_attach(struct tuner *t)
t->mode = V4L2_TUNER_ANALOG_TV;

return 0;

fail:
tda829x_release(fe);
fe->ops.analog_demod_ops = NULL;
return -EINVAL;
}
EXPORT_SYMBOL_GPL(tda829x_attach);

Expand Down

0 comments on commit 1fa3d35

Please sign in to comment.