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

Commit d02f7ad3 authored by Sureshnaidu Laveti's avatar Sureshnaidu Laveti Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix crash in EEPROM reading



Corrected the ofnode value EEPROM SPI devices for
reading DTSI entries.

Change-Id: I49c062175f645ba80dc2155b461bb91fe9397e28
Signed-off-by: default avatarSureshnaidu Laveti <lsuresh@codeaurora.org>
parent 0f62c596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -668,7 +668,7 @@ static int32_t cam_eeprom_pkt_parse(struct cam_eeprom_ctrl_t *e_ctrl, void *arg)
	case CAM_EEPROM_PACKET_OPCODE_INIT:
		if (e_ctrl->userspace_probe == false) {
			rc = cam_eeprom_parse_read_memory_map(
					e_ctrl->pdev->dev.of_node, e_ctrl);
					e_ctrl->soc_info.dev->of_node, e_ctrl);
			if (rc < 0) {
				CAM_ERR(CAM_EEPROM, "Failed: rc : %d", rc);
				return rc;