Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268081
b: refs/heads/master
c: 22f88fc
h: refs/heads/master
i:
  268079: e071447
v: v3
  • Loading branch information
Alexey Khoroshilov authored and Greg Kroah-Hartman committed Aug 29, 2011
1 parent 572e85d commit d67b401
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: 0f18f767e5f9a4c5a9fa976df168d0f3e33c91da
refs/heads/master: 22f88fcf407933321d08c45520fbeffca70b05d1
4 changes: 3 additions & 1 deletion trunk/drivers/staging/easycap/easycap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,8 +953,10 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait)
* peasycap, IN WHICH CASE A REPEAT CALL TO isdongle() WILL FAIL.
* IF NECESSARY, BAIL OUT.
*/
if (kd != isdongle(peasycap))
if (kd != isdongle(peasycap)) {
mutex_unlock(&easycapdc60_dongle[kd].mutex_video);
return -ERESTARTSYS;
}
if (!file) {
SAY("ERROR: file is NULL\n");
mutex_unlock(&easycapdc60_dongle[kd].mutex_video);
Expand Down

0 comments on commit d67b401

Please sign in to comment.