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

Commit 9054a9c2 authored by Vandana Jain's avatar Vandana Jain Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: QM215 delay during power up sequence



Add a delay of 60ms for QM215 target during power up
sequence.

Change-Id: Ia9dc30bc83a307b636eb7c6a42bf9f04c1cc36aa
Signed-off-by: default avatarVandana Jain <vandja@codeaurora.org>
parent 3a4cc727
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2011-2018, 2020, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2018, 2021, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -205,6 +205,9 @@ int msm_sensor_power_up(struct msm_sensor_ctrl_t *s_ctrl)
					&msm_sensor_secure_func_tbl;
			}
		}
#if IS_ENABLED(CONFIG_ARCH_QM215)
		msleep(60);
#endif
		rc = msm_camera_power_up(power_info, s_ctrl->sensor_device_type,
			sensor_i2c_client);
		if (rc < 0)