summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf2-dma-sg.c
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2011-08-04 17:33:15 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-03 13:49:07 +0200
commit77b1e2fbbdfa0ee5cdf6c928b711493a3738468e (patch)
tree01ea38d60c3e1e32589eb0151f63700e35e28cc8 /drivers/media/video/videobuf2-dma-sg.c
parent[media] DVB: dvb_frontend: clear stale events on FE_SET_FRONTEND (diff)
downloadlinux-77b1e2fbbdfa0ee5cdf6c928b711493a3738468e.tar.xz
linux-77b1e2fbbdfa0ee5cdf6c928b711493a3738468e.zip
[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 'drivers/media/video/videobuf2-dma-sg.c')
0 files changed, 0 insertions, 0 deletions