[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)
commit7fb89eca0f2ad21f6e77f3411cb220ed94f340df
tree8aa5f697f6c5f6cbfd85d801b61652728088197c
parentf9f715a95d07d3868bb30aeb20252b6b05d35d8f
[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