summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorBrandon Philips <brandon@ifup.org>2008-04-02 23:10:59 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 19:07:57 +0200
commit78718e5d44cd450431d5b16ee36d3a7de1db6dfa (patch)
tree6f229f1abbd2655433d22f6d054fda4515d4a8da /include/media
parentV4L/DVB (7491): vivi: make vivi openable only once (diff)
downloadlinux-78718e5d44cd450431d5b16ee36d3a7de1db6dfa.tar.xz
linux-78718e5d44cd450431d5b16ee36d3a7de1db6dfa.zip
V4L/DVB (7492): vivi: Simplify the vivi driver and avoid deadlocks
vivi previously had a very complex queuing system and held spinlocks while doing copy_to_user, kmalloc, etc. This caused the driver to easily deadlock when a multi-threaded application used it and revealed bugs in videobuf too. This replaces the copy_to_user with memcpy since we were never copying to user space addresses. And makes the kmalloc atomic. Signed-off-by: Brandon Philips <bphilips@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions