Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
b46a9c8b
Commit
b46a9c8b
authored
Aug 05, 2008
by
Mauro Carvalho Chehab
Committed by
Mauro Carvalho Chehab
Oct 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (8627): Fix mute on bttv driver
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
8f2b7b70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/bt8xx/bttv-driver.c
+5
-0
No files found.
drivers/media/video/bt8xx/bttv-driver.c
View file @
b46a9c8b
...
...
@@ -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
++
;
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment