[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)
commit6de7d14d7ab89454926d58cac40b46106ae2ed79
tree1cfb38a716bd4759d5448c8c8dcecc1abf41b90f
parent85397ef62a27c434136d039cc60043650a379c0d
[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