Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 745417f2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm:Camera: Fix Power leak with sp1628 camera sensor"

parents b4b95a4a e4faa54f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1075,7 +1075,9 @@ int msm_camera_power_down(struct msm_camera_power_ctrl_t *ctrl,
			}
			gpio_set_value_cansleep(
				ctrl->gpio_conf->gpio_num_info->gpio_num
				[power_setting->seq_val], GPIOF_OUT_INIT_LOW);
				[power_setting->seq_val],
				ctrl->gpio_conf->gpio_num_info->gpio_num
				[power_setting->config_val]);
			break;
		case SENSOR_VREG:
			if (power_setting->seq_val >= CAM_VREG_MAX) {