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

Commit 32376cc2 authored by Suresh Vankadara's avatar Suresh Vankadara
Browse files

msm: camera: Fix for camera powerup crash



eeprom probe fills power setting information and is
used in camera powerup. power setting pointer
initialization is missed and is leading to crash.

Update power setting pointer with proper address
to fix the crash.

Change-Id: Ie1280f37bab4682011ac9746c55088717b930b6e
Signed-off-by: default avatarSuresh Vankadara <svankada@codeaurora.org>
parent 39e0d0b3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -378,6 +378,7 @@ int msm_camera_get_dt_power_setting_data(struct device_node *of_node,
		return -ENOMEM;
	}
	power_setting = ps;
	power_info->power_setting = ps;

	for (i = 0; i < count; i++) {
		rc = of_property_read_string_index(of_node,