Commit c0665297 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Mauro Carvalho Chehab

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: default avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: default avatarHelen Koike <helen.koike@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 14ba397f
...@@ -231,7 +231,7 @@ static void rkisp1_stats_get_afc_meas(struct rkisp1_stats *stats, ...@@ -231,7 +231,7 @@ static void rkisp1_stats_get_afc_meas(struct rkisp1_stats *stats,
struct rkisp1_device *rkisp1 = stats->rkisp1; struct rkisp1_device *rkisp1 = stats->rkisp1;
struct rkisp1_cif_isp_af_stat *af; 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 = &pbuf->params.af;
af->window[0].sum = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AFM_SUM_A); af->window[0].sum = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AFM_SUM_A);
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
*/ */
#define RKISP1_CIF_ISP_STAT_AWB BIT(0) #define RKISP1_CIF_ISP_STAT_AWB BIT(0)
#define RKISP1_CIF_ISP_STAT_AUTOEXP BIT(1) #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) #define RKISP1_CIF_ISP_STAT_HIST BIT(3)
enum rkisp1_cif_isp_histogram_mode { enum rkisp1_cif_isp_histogram_mode {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment