[media] m5mols: Protect driver data with a mutex
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 20 Sep 2012 11:16:45 +0000 (08:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 23:59:36 +0000 (20:59 -0300)
Without the locking the driver's data could get corrupted when the subdev
is accessed from user space and from host driver by multiple processes.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found