diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2011-08-04 11:33:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-03 07:49:07 -0400 |
commit | 77b1e2fbbdfa0ee5cdf6c928b711493a3738468e (patch) | |
tree | 01ea38d60c3e1e32589eb0151f63700e35e28cc8 /sound | |
parent | 20640bea87c31a823dba3756b1a5248197f0905f (diff) |
[media] DVB: dvb_frontend: update locking in dvb_frontend_{add, get_event}
- fepriv->parameters_out isn't protected by events->mtx, so
move the call to fe->ops.get_frontend out of the locked area.
- move the assignment of e->status into the locked area.
- use direct assignment instead of memcpy.
- use mutex_lock instead of mutex_lock_interruptible, because
all code paths protected by this mutex won't block.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions