Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
03feee37
Commit
03feee37
authored
11 years ago
by
Al Viro
Browse files
Options
Download
Email Patches
Plain Diff
dvb_frontend: don't mess with ->f_op in ->release()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7caf2184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/media/dvb-core/dvb_frontend.c
drivers/media/dvb-core/dvb_frontend.c
+1
-4
No files found.
drivers/media/dvb-core/dvb_frontend.c
View file @
03feee37
...
...
@@ -2492,11 +2492,8 @@ static int dvb_frontend_release(struct inode *inode, struct file *file)
if
(
dvbdev
->
users
==
-
1
)
{
wake_up
(
&
fepriv
->
wait_queue
);
if
(
fepriv
->
exit
!=
DVB_FE_NO_EXIT
)
{
fops_put
(
file
->
f_op
);
file
->
f_op
=
NULL
;
if
(
fepriv
->
exit
!=
DVB_FE_NO_EXIT
)
wake_up
(
&
dvbdev
->
wait_queue
);
}
if
(
fe
->
ops
.
ts_bus_ctrl
)
fe
->
ops
.
ts_bus_ctrl
(
fe
,
0
);
}
...
...
This diff is collapsed.
Click to expand it.
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