[media] s5p-mfc: use spinlock to protect MFC context
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 2 Dec 2015 08:22:31 +0000 (06:22 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 23 Dec 2015 15:58:36 +0000 (13:58 -0200)
commit7969b12523668d764746e762b42793fd1aefcf13
tree594852b6d5704899c8b589ea77ff6e3ff130176a
parent8eceb9a0070138ba6db805b38f46c46a926b37b8
[media] s5p-mfc: use spinlock to protect MFC context

MFC driver uses dev->irqlock spinlock to protect queues only, but many context
fields require protection also - they can be accessed concurrently
from IOCTLs and IRQ handler. The patch increases protection range of irqlock
to those fields also.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c
This page took 0.077157 seconds and 5 git commands to generate.