]> git.baikalelectronics.ru Git - kernel.git/commit
[media] saa7146: remove V4L2_FL_LOCK_ALL_FOPS
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 23 Jun 2012 10:47:14 +0000 (07:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 Aug 2012 22:43:28 +0000 (19:43 -0300)
commit01b550561f1933fadfc3d4e00fbf8021f61f26e3
tree1cfb38a716bd4759d5448c8c8dcecc1abf41b90f
parentd283684850ea063455f048e6f4850dda9647b893
[media] saa7146: remove V4L2_FL_LOCK_ALL_FOPS

Add proper locking to the file operations, allowing for the removal
of the V4L2_FL_LOCK_ALL_FOPS flag.

I also removed some dead code in the form of the saa7146_devices list and
saa7146_devices_lock mutex: these were used once but that was a long time
ago.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/saa7146_core.c
drivers/media/common/saa7146_fops.c
include/media/saa7146.h