Skip to content

Commit f944fd0

Browse files
Hu Kejunrkhuangtao
authored andcommitted
media: rk-isp10: add api mutex for multi-thread app
Change-Id: If2f8600a5f6cdf57bc3859b81a68539bb2d05a84 Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
1 parent 60edcb0 commit f944fd0

2 files changed

Lines changed: 85 additions & 7 deletions

File tree

drivers/media/platform/rk-isp10/cif_isp10.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ struct cif_isp10_device {
674674
struct pltfrm_soc_cfg soc_cfg;
675675
void *nodes;
676676

677+
struct mutex api_mutex; /* user api mutex */
678+
677679
};
678680

679681
struct cif_isp10_fmt *get_cif_isp10_output_format(int index);

0 commit comments

Comments
 (0)