Loading drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_core.c +10 −28 Original line number Diff line number Diff line Loading @@ -307,15 +307,6 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl, flash_data = &fctrl->nrt_info; if (flash_data->opcode == CAMERA_SENSOR_FLASH_OP_FIRELOW) { if (!(fctrl->is_regulator_enabled)) { rc = cam_flash_prepare(fctrl, CAM_FLASH_STATE_START); if (rc) { CAM_ERR(CAM_FLASH, "Reg Enable Failed %d", rc); goto nrt_del_req; } rc = cam_flash_low(fctrl, flash_data); if (rc) { CAM_ERR(CAM_FLASH, Loading @@ -325,7 +316,6 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl, } fctrl->flash_state = CAM_FLASH_STATE_LOW; } } else if (flash_data->opcode == CAMERA_SENSOR_FLASH_OP_OFF) { if (fctrl->flash_state == Loading @@ -336,14 +326,6 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl, "LED off failed: %d", rc); } cam_flash_flush_nrt(fctrl); rc = cam_flash_release_dev(fctrl); if (rc) CAM_ERR(CAM_FLASH, "Release dev failed rc %d", rc); fctrl->flash_state = CAM_FLASH_STATE_INIT; } } else if (fctrl->nrt_info.cmn_attr.cmd_type == CAMERA_SENSOR_FLASH_CMD_TYPE_RER) { Loading Loading
drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_core.c +10 −28 Original line number Diff line number Diff line Loading @@ -307,15 +307,6 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl, flash_data = &fctrl->nrt_info; if (flash_data->opcode == CAMERA_SENSOR_FLASH_OP_FIRELOW) { if (!(fctrl->is_regulator_enabled)) { rc = cam_flash_prepare(fctrl, CAM_FLASH_STATE_START); if (rc) { CAM_ERR(CAM_FLASH, "Reg Enable Failed %d", rc); goto nrt_del_req; } rc = cam_flash_low(fctrl, flash_data); if (rc) { CAM_ERR(CAM_FLASH, Loading @@ -325,7 +316,6 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl, } fctrl->flash_state = CAM_FLASH_STATE_LOW; } } else if (flash_data->opcode == CAMERA_SENSOR_FLASH_OP_OFF) { if (fctrl->flash_state == Loading @@ -336,14 +326,6 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl, "LED off failed: %d", rc); } cam_flash_flush_nrt(fctrl); rc = cam_flash_release_dev(fctrl); if (rc) CAM_ERR(CAM_FLASH, "Release dev failed rc %d", rc); fctrl->flash_state = CAM_FLASH_STATE_INIT; } } else if (fctrl->nrt_info.cmn_attr.cmd_type == CAMERA_SENSOR_FLASH_CMD_TYPE_RER) { Loading