Loading drivers/input/misc/vl53L1/kona/src/vl53l1_api_calibration.c +12 −22 Original line number Diff line number Diff line Loading @@ -2559,14 +2559,12 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_disable_xtalk_compensation(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; smudge_corr_en = pdev->smudge_correct_config.smudge_corr_enabled; //if (status == VL53L1_ERROR_NONE) status = VL53L1_dynamic_xtalk_correction_disable(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; Loading @@ -2579,7 +2577,6 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( &MergeEnabled); memset(&pdev->xtalk_cal, 0, sizeof(pdev->xtalk_cal)); //if (status == VL53L1_ERROR_NONE) status = VL53L1_init_and_start_range( Dev, measurement_mode, VL53L1_DEVICECONFIGLEVEL_CUSTOMER_ONWARDS); Loading @@ -2595,12 +2592,10 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( VL53L1_TUNINGPARM_HIST_MERGE_MAX_SIZE, k * MaxId + 1); for (i = 0; i <= pX->num_of_samples; i++) { //if (status == VL53L1_ERROR_NONE) status = VL53L1_wait_for_range_completion(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_get_device_results(Dev, VL53L1_DEVICERESULTSLEVEL_FULL, prange_results); Loading Loading @@ -2631,21 +2626,16 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( goto LOOPOUT; } //if (status == VL53L1_ERROR_NONE) status = VL53L1_wait_for_firmware_ready(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_clear_interrupt_and_enable_next_range( status = VL53L1_clear_interrupt_and_enable_next_range( Dev, measurement_mode); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_hist_xtalk_extract_fini( status = VL53L1_hist_xtalk_extract_fini( &(pdev->hist_data), &(pdev->xtalk_extract), &(pdev->xtalk_cal), Loading drivers/input/misc/vl53L1/kona/src/vl53l1_api_core.c +18 −50 Original line number Diff line number Diff line Loading @@ -456,78 +456,46 @@ VL53L1_Error VL53L1_data_init( if (read_p2p_data > 0 && status == VL53L1_ERROR_NONE) status = VL53L1_read_p2p_data(Dev); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_refspadchar_config_struct( &(pdev->refspadchar)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_ssc_config_struct( &(pdev->ssc_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_xtalk_config_struct( &(pdev->customer), &(pdev->xtalk_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_xtalk_extract_config_struct( &(pdev->xtalk_extract_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_offset_cal_config_struct( &(pdev->offsetcal_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_zone_cal_config_struct( &(pdev->zonecal_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_hist_post_process_config_struct( pdev->xtalk_cfg.global_crosstalk_compensation_enable, &(pdev->histpostprocess)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_hist_gen3_dmax_config_struct( &(pdev->dmax_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_tuning_parm_storage_struct( &(pdev->tuning_parms)); if (status == VL53L1_ERROR_NONE) status = VL53L1_set_preset_mode( Dev, Loading techpack/display/msm/dsi/dsi_panel.c +6 −8 Original line number Diff line number Diff line Loading @@ -4445,10 +4445,8 @@ int dsi_panel_drv_init(struct dsi_panel *panel, } else #endif goto error_pinctrl_deinit; } rc = dsi_panel_bl_register(panel); if (rc) { if (rc != -EPROBE_DEFER) Loading techpack/display/msm/sde/sde_encoder_phys_cmd.c +4 −3 Original line number Diff line number Diff line Loading @@ -2085,7 +2085,8 @@ static void sde_encoder_phys_cmd_trigger_start( #if defined(OPLUS_FEATURE_PXLW_IRIS5) if (iris_is_chip_supported()) { atomic_inc(&cmd_enc->autorefresh.kickoff_cnt); _sde_encoder_phys_cmd_config_autorefresh(phys_enc, frame_cnt); _sde_encoder_phys_cmd_config_autorefresh(phys_enc, frame_cnt); goto end; } #endif Loading drivers/soc/qcom/fsa4480-i2c.c +4 −4 File changed.Contains only whitespace changes. Show changes Loading
drivers/input/misc/vl53L1/kona/src/vl53l1_api_calibration.c +12 −22 Original line number Diff line number Diff line Loading @@ -2559,14 +2559,12 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_disable_xtalk_compensation(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; smudge_corr_en = pdev->smudge_correct_config.smudge_corr_enabled; //if (status == VL53L1_ERROR_NONE) status = VL53L1_dynamic_xtalk_correction_disable(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; Loading @@ -2579,7 +2577,6 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( &MergeEnabled); memset(&pdev->xtalk_cal, 0, sizeof(pdev->xtalk_cal)); //if (status == VL53L1_ERROR_NONE) status = VL53L1_init_and_start_range( Dev, measurement_mode, VL53L1_DEVICECONFIGLEVEL_CUSTOMER_ONWARDS); Loading @@ -2595,12 +2592,10 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( VL53L1_TUNINGPARM_HIST_MERGE_MAX_SIZE, k * MaxId + 1); for (i = 0; i <= pX->num_of_samples; i++) { //if (status == VL53L1_ERROR_NONE) status = VL53L1_wait_for_range_completion(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_get_device_results(Dev, VL53L1_DEVICERESULTSLEVEL_FULL, prange_results); Loading Loading @@ -2631,21 +2626,16 @@ VL53L1_Error VL53L1_run_hist_xtalk_extraction( goto LOOPOUT; } //if (status == VL53L1_ERROR_NONE) status = VL53L1_wait_for_firmware_ready(Dev); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_clear_interrupt_and_enable_next_range( status = VL53L1_clear_interrupt_and_enable_next_range( Dev, measurement_mode); if (status != VL53L1_ERROR_NONE) goto LOOPOUT; //if (status == VL53L1_ERROR_NONE) status = VL53L1_hist_xtalk_extract_fini( status = VL53L1_hist_xtalk_extract_fini( &(pdev->hist_data), &(pdev->xtalk_extract), &(pdev->xtalk_cal), Loading
drivers/input/misc/vl53L1/kona/src/vl53l1_api_core.c +18 −50 Original line number Diff line number Diff line Loading @@ -456,78 +456,46 @@ VL53L1_Error VL53L1_data_init( if (read_p2p_data > 0 && status == VL53L1_ERROR_NONE) status = VL53L1_read_p2p_data(Dev); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_refspadchar_config_struct( &(pdev->refspadchar)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_ssc_config_struct( &(pdev->ssc_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_xtalk_config_struct( &(pdev->customer), &(pdev->xtalk_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_xtalk_extract_config_struct( &(pdev->xtalk_extract_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_offset_cal_config_struct( &(pdev->offsetcal_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_zone_cal_config_struct( &(pdev->zonecal_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_hist_post_process_config_struct( pdev->xtalk_cfg.global_crosstalk_compensation_enable, &(pdev->histpostprocess)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_hist_gen3_dmax_config_struct( &(pdev->dmax_cfg)); if (status == VL53L1_ERROR_NONE) status = VL53L1_init_tuning_parm_storage_struct( &(pdev->tuning_parms)); if (status == VL53L1_ERROR_NONE) status = VL53L1_set_preset_mode( Dev, Loading
techpack/display/msm/dsi/dsi_panel.c +6 −8 Original line number Diff line number Diff line Loading @@ -4445,10 +4445,8 @@ int dsi_panel_drv_init(struct dsi_panel *panel, } else #endif goto error_pinctrl_deinit; } rc = dsi_panel_bl_register(panel); if (rc) { if (rc != -EPROBE_DEFER) Loading
techpack/display/msm/sde/sde_encoder_phys_cmd.c +4 −3 Original line number Diff line number Diff line Loading @@ -2085,7 +2085,8 @@ static void sde_encoder_phys_cmd_trigger_start( #if defined(OPLUS_FEATURE_PXLW_IRIS5) if (iris_is_chip_supported()) { atomic_inc(&cmd_enc->autorefresh.kickoff_cnt); _sde_encoder_phys_cmd_config_autorefresh(phys_enc, frame_cnt); _sde_encoder_phys_cmd_config_autorefresh(phys_enc, frame_cnt); goto end; } #endif Loading