Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41090
b: refs/heads/master
c: a5bbc7d
h: refs/heads/master
v: v3
  • Loading branch information
Ira Snyder authored and Mauro Carvalho Chehab committed Nov 26, 2006
1 parent d6033a9 commit 0e90277
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: 30d9464c76743160612e7de0b2f5f656c78915d3
refs/heads/master: a5bbc7d94cf1dcb2100eeaf68791a401ad7ce54d
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/saa6588.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ static void read_from_buf(struct saa6588 *s, struct rds_command *a)
if (rd_blocks > s->block_count)
rd_blocks = s->block_count;

if (!rd_blocks)
if (!rd_blocks) {
spin_unlock_irqrestore(&s->lock, flags);
return;
}

for (i = 0; i < rd_blocks; i++) {
if (block_to_user_buf(s, buf_ptr)) {
Expand Down

0 comments on commit 0e90277

Please sign in to comment.