Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109555
b: refs/heads/master
c: c5bf204
h: refs/heads/master
i:
  109553: 0c8beec
  109551: d0cbb6d
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 3, 2008
1 parent ab1a281 commit 35f9c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: dc60de338f4b2d445a24d4e36bbc994f3badb406
refs/heads/master: c5bf204f42423f49d7ea34f14eef92780204e168
5 changes: 2 additions & 3 deletions trunk/drivers/media/video/saa7115.c
Original file line number Diff line number Diff line change
Expand Up @@ -1489,10 +1489,9 @@ static int saa7115_probe(struct i2c_client *client,
client->addr << 1, client->adapter->name);

state = kzalloc(sizeof(struct saa711x_state), GFP_KERNEL);
i2c_set_clientdata(client, state);
if (state == NULL) {
if (state == NULL)
return -ENOMEM;
}
i2c_set_clientdata(client, state);
state->input = -1;
state->output = SAA7115_IPORT_ON;
state->enable = 1;
Expand Down

0 comments on commit 35f9c35

Please sign in to comment.