Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138347
b: refs/heads/master
c: e7ddcd9
h: refs/heads/master
i:
  138345: a247c6b
  138343: ae2c922
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent cfa08f5 commit b2fb624
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 997fb78e73f3dce23c6fa773128583e1fa15d164
refs/heads/master: e7ddcd98a179c441d54fe84d221cea4e5852b235
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ static void set_type(struct i2c_client *c, unsigned int type,
}

t->type = type;
t->config = new_config;
/* prevent invalid config values */
t->config = ((new_config >= 0) && (new_config < 256)) ? new_config : 0;
if (tuner_callback != NULL) {
tuner_dbg("defining GPIO callback\n");
t->fe.callback = tuner_callback;
Expand Down

0 comments on commit b2fb624

Please sign in to comment.