diff options
author | Kamil Debski <k.debski@samsung.com> | 2012-02-16 10:52:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 07:43:37 -0300 |
commit | 27dda973e8057225e05a41597a21bc3a8f4d0c3e (patch) | |
tree | 2a95224de6c2111fbc44ea52ab1e68722522057f /drivers/media/video/s5p-g2d/g2d.h | |
parent | d0d2832658a1677c2ba339db068475851277af7d (diff) | |
download | lwn-27dda973e8057225e05a41597a21bc3a8f4d0c3e.tar.gz lwn-27dda973e8057225e05a41597a21bc3a8f4d0c3e.zip |
[media] s5p-g2d: Added locking for writing control values to registers
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-g2d/g2d.h')
-rw-r--r-- | drivers/media/video/s5p-g2d/g2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-g2d/g2d.h b/drivers/media/video/s5p-g2d/g2d.h index 78848d2f2073..1b82065aeaef 100644 --- a/drivers/media/video/s5p-g2d/g2d.h +++ b/drivers/media/video/s5p-g2d/g2d.h @@ -20,7 +20,7 @@ struct g2d_dev { struct v4l2_m2m_dev *m2m_dev; struct video_device *vfd; struct mutex mutex; - spinlock_t irqlock; + spinlock_t ctrl_lock; atomic_t num_inst; struct vb2_alloc_ctx *alloc_ctx; struct resource *res_regs; |