[media] saa7146: Convert from .ioctl to .unlocked_ioctl

Convert saa7146 to use core-assisted locking.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Hans Verkuil 2010-12-18 09:20:59 -03:00 • committed by Mauro Carvalho Chehab
commit 9af39713fe
5 changed files with 6 additions and 28 deletions

View file

@ -115,7 +115,7 @@ struct saa7146_dev
/* different device locks */
spinlock_t slock;
struct mutex lock;
struct mutex v4l2_lock;
unsigned char __iomem *mem; /* pointer to mapped IO memory */
u32 revision; /* chip revision; needed for bug-workarounds*/