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

Commit 65c71d56 authored by Viswanadha Raju Thotakura's avatar Viswanadha Raju Thotakura
Browse files

msm: camera: Do not invalidate one time settings



In the case of stream off and stream on the sensor without
powering down, then retain the one time settings from user.

Change-Id: I86feac3aacd306119a2bdf1ee15dde0743100910
Signed-off-by: default avatarViswanadha Raju Thotakura <viswanad@codeaurora.org>
parent 6e4bc937
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -997,7 +997,6 @@ int cam_sensor_apply_settings(struct cam_sensor_ctrl_t *s_ctrl,
					return rc;
				}
			}
			i2c_set->is_settings_valid = 0;
		}
	} else {
		offset = req_id % MAX_PER_FRAME_ARRAY;