mirror of https://gitee.com/openkylin/linux.git
[media] am437x-vpfe: really update the vpfe_ccdc_update_raw_params data
drivers/media/platform/am437x/am437x-vpfe.c: In function 'vpfe_ccdc_update_raw_params': drivers/media/platform/am437x/am437x-vpfe.c:430:38: warning: variable 'config_params' set but not used [-Wunused-but-set-variable] struct vpfe_ccdc_config_params_raw *config_params = ^ vpfe_ccdc_update_raw_params() is supposed to update the raw params at ccdc. However, it is just creating a local var and changing it. Compile-tested only. Cc: Benoit Parrot <bparrot@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
bb17141cc5
commit
adf98ffe80
|
@ -430,7 +430,7 @@ vpfe_ccdc_update_raw_params(struct vpfe_ccdc *ccdc,
|
|||
struct vpfe_ccdc_config_params_raw *config_params =
|
||||
&ccdc->ccdc_cfg.bayer.config_params;
|
||||
|
||||
config_params = raw_params;
|
||||
*config_params = *raw_params;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue