mirror of https://gitee.com/openkylin/linux.git
media: staging: rkisp1: rename RKISP1_CIF_ISP_STAT_AFM_FIN to RKISP1_CIF_ISP_STAT_AFM
The flag RKISP1_CIF_ISP_STAT_AFM_FIN indicates userspace that auto-focus measurements were collected. Therefore the suffix _FIN in the flag's name does not fit. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Acked-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
14ba397f22
commit
c066529755
|
@ -231,7 +231,7 @@ static void rkisp1_stats_get_afc_meas(struct rkisp1_stats *stats,
|
|||
struct rkisp1_device *rkisp1 = stats->rkisp1;
|
||||
struct rkisp1_cif_isp_af_stat *af;
|
||||
|
||||
pbuf->meas_type |= RKISP1_CIF_ISP_STAT_AFM_FIN;
|
||||
pbuf->meas_type |= RKISP1_CIF_ISP_STAT_AFM;
|
||||
|
||||
af = &pbuf->params.af;
|
||||
af->window[0].sum = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AFM_SUM_A);
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
*/
|
||||
#define RKISP1_CIF_ISP_STAT_AWB BIT(0)
|
||||
#define RKISP1_CIF_ISP_STAT_AUTOEXP BIT(1)
|
||||
#define RKISP1_CIF_ISP_STAT_AFM_FIN BIT(2)
|
||||
#define RKISP1_CIF_ISP_STAT_AFM BIT(2)
|
||||
#define RKISP1_CIF_ISP_STAT_HIST BIT(3)
|
||||
|
||||
enum rkisp1_cif_isp_histogram_mode {
|
||||
|
|
Loading…
Reference in New Issue