Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98511
b: refs/heads/master
c: a178987
h: refs/heads/master
i:
  98509: 42e2af6
  98507: 707d29a
  98503: 1374266
  98495: 597b196
v: v3
  • Loading branch information
Arjan van de Ven authored and Mauro Carvalho Chehab committed Jun 26, 2008
1 parent fa75ecc commit f56ee5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c554e6b984ce6b36488b93a7ec8e2752233e7cb
refs/heads/master: a17898737eaed4ef41f273da7b830c632e06613e
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/saa7134/saa7134-empress.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ static int ts_release(struct inode *inode, struct file *file)
{
struct saa7134_dev *dev = file->private_data;

mutex_lock(&dev->empress_tsq.vb_lock);

videobuf_stop(&dev->empress_tsq);
videobuf_mmap_free(&dev->empress_tsq);

Expand All @@ -122,6 +124,8 @@ static int ts_release(struct inode *inode, struct file *file)

dev->empress_users--;

mutex_unlock(&dev->empress_tsq.vb_lock);

return 0;
}

Expand Down

0 comments on commit f56ee5f

Please sign in to comment.