Skip to content
Snippets Groups Projects
Commit 03feee37 authored by Al Viro's avatar Al Viro
Browse files

dvb_frontend: don't mess with ->f_op in ->release()


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7caf2184
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment