Add a lock for the ctx_list, to avoid accessing a NULL pointer
within the 'vpu_enc_ipi_handler' function when the ctx_list has
been deleted due to an unexpected behavior on the SCP IP block.
Fixes:
|
||
|---|---|---|
| .. | ||
| venc | ||
| Makefile | ||
| mtk_vcodec_enc.c | ||
| mtk_vcodec_enc.h | ||
| mtk_vcodec_enc_drv.c | ||
| mtk_vcodec_enc_drv.h | ||
| mtk_vcodec_enc_pm.c | ||
| mtk_vcodec_enc_pm.h | ||
| venc_drv_base.h | ||
| venc_drv_if.c | ||
| venc_drv_if.h | ||
| venc_ipi_msg.h | ||
| venc_vpu_if.c | ||
| venc_vpu_if.h | ||