Hi Kamil, This patchset contains one patch which should fix races during accessing context fields. As the patch significantly changes locking I have tested it in different different scenarios. Other patches just clean up the code. The patchset is based on the latest media-tree branch. Regards Andrzej Andrzej Hajda (6): s5p-mfc: use one implementation of s5p_mfc_get_new_ctx s5p-mfc: make queue cleanup code common s5p-mfc: remove unnecessary callbacks s5p-mfc: use spinlock to protect MFC context s5p-mfc: merge together s5p_mfc_hw_call and s5p_mfc_hw_call_void s5p-mfc: remove volatile attribute from MFC register addresses drivers/media/platform/s5p-mfc/s5p_mfc.c | 99 +++-- drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 12 +- drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c | 16 +- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 31 +- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 40 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr.h | 507 ++++++++++++------------ drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 94 ----- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 121 +----- 8 files changed, 351 insertions(+), 569 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html