Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211321
b: refs/heads/master
c: 028816b
h: refs/heads/master
i:
  211319: ffb60da
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Sep 28, 2010
1 parent 318e799 commit 9e5f5b7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 590a58d18027b18db78f538aca592c2cdb249079
refs/heads/master: 028816bc85db5ac6a562c2aff2113c7480d67919
4 changes: 3 additions & 1 deletion trunk/drivers/media/IR/ir-raw-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,11 @@ int ir_raw_event_register(struct input_dev *input_dev)
"rc%u", (unsigned int)ir->devno);

if (IS_ERR(ir->raw->thread)) {
int ret = PTR_ERR(ir->raw->thread);

kfree(ir->raw);
ir->raw = NULL;
return PTR_ERR(ir->raw->thread);
return ret;
}

mutex_lock(&ir_raw_handler_lock);
Expand Down

0 comments on commit 9e5f5b7

Please sign in to comment.