]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: optimized code related to working contextes
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 14 Aug 2012 09:13:40 +0000 (06:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 2 Oct 2012 16:58:40 +0000 (13:58 -0300)
commit575df37d91449988ad79d28ad46627fc0771c692
tree8aa5f697f6c5f6cbfd85d801b61652728088197c
parent5dee9aea45673416570bb20adada910c7581a564
[media] s5p-mfc: optimized code related to working contextes

All code setting/clearing working context bits has been moved
to separate functions. set_bit/clear_bit have been replaced by
non-atomic variants - variable is already guarded by spin_lock.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.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