BZ: 20531
MACC was not available in the primary binary, and hence when MACC
was selected by the user, advanced binary was chosen by default. With
this patch, primary binary will be selected when MACC is set by the user.
Change-Id: I45a64a5ebc1f61f2bb2555fef79c5bdedb86bb44
Orig-Change-Id: I11a030aba0d750390990a4dcdf93ccdc82e6ecc6
Signed-off-by: Lokesh Gupta <lokesh.gupta@intel.com>
Reviewed-on: http://android.intel.com:8080/31406
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/32450
Reviewed-by: Lampila, KalleX <kallex.lampila@intel.com>
{
if (isp->params.low_light) {
sh_css_capture_set_mode(SH_CSS_CAPTURE_MODE_LOW_LIGHT);
- } else if (isp->params.gdc_cac_en || isp->params.macc_en) {
+ } else if (isp->params.gdc_cac_en ) {
sh_css_capture_set_mode(SH_CSS_CAPTURE_MODE_ADVANCED);
} else {
sh_css_capture_set_mode(SH_CSS_CAPTURE_MODE_PRIMARY);