Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113804
b: refs/heads/master
c: b46a9c8
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent bdc80a0 commit 76b04eb
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 8f2b7b70600212f8c809a7bc2d17d33561842440
refs/heads/master: b46a9c8b7a8a77f28773816fd2afa1186743457d
5 changes: 5 additions & 0 deletions trunk/drivers/media/video/bt8xx/bttv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3275,6 +3275,7 @@ static int bttv_open(struct inode *inode, struct file *file)
sizeof(struct bttv_buffer),
fh);
set_tvnorm(btv,btv->tvnorm);
set_input(btv, btv->input, btv->tvnorm);

btv->users++;

Expand Down Expand Up @@ -3336,6 +3337,10 @@ static int bttv_release(struct inode *inode, struct file *file)

btv->users--;
bttv_field_count(btv);

if (!btv->users)
audio_mute(btv, 1);

return 0;
}

Expand Down

0 comments on commit 76b04eb

Please sign in to comment.