video: driver: access buffers list under lock only

Do not access buffers list of an instance without
acquiring its instance lock in msm_vidc_set_clocks()
and msm_vidc_set_buses().

Change-Id: Ic7e8e15eaddca3b77bd4eccc6b728de20d3bcc78
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
此提交包含在:
Maheshwar Ajja
2021-03-30 14:51:40 -07:00
提交者 Mihir Ganu
父節點 4a6b6797e5
當前提交 e1af4fd098
共有 2 個檔案被更改,包括 8 行新增15 行删除

查看文件

@@ -140,6 +140,7 @@ struct msm_vidc_inst {
bool active;
u64 last_qbuf_time_ns;
bool vb2q_init;
u32 max_input_data_size;
};
#endif // _MSM_VIDC_INST_H_