Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219168
b: refs/heads/master
c: a0a4714
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 27855e7 commit becedb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df1868e4ee605444bbb98505126bdfb3519749af
refs/heads/master: a0a4714c404dfd0c28092743dd8bc244fcda357a
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ static void dvb_frontend_stop(struct dvb_frontend *fe)

kthread_stop(fepriv->thread);

init_MUTEX (&fepriv->sem);
sema_init(&fepriv->sem, 1);
fepriv->state = FESTATE_IDLE;

/* paranoia check in case a signal arrived */
Expand Down Expand Up @@ -2061,7 +2061,7 @@ int dvb_register_frontend(struct dvb_adapter* dvb,
}
fepriv = fe->frontend_priv;

init_MUTEX (&fepriv->sem);
sema_init(&fepriv->sem, 1);
init_waitqueue_head (&fepriv->wait_queue);
init_waitqueue_head (&fepriv->events.wait_queue);
mutex_init(&fepriv->events.mtx);
Expand Down

0 comments on commit becedb7

Please sign in to comment.