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

Unverified Commit 303c4eda authored by yushixian's avatar yushixian Committed by Michael Bestas
Browse files

[JIRA:FP4-358] [FP4]:solve not boot without LCM

 &&&%%%comment:[FP4]:solve not boot without LCM
 &&&%%%bug number:fp4-358
 &&&%%%product name:sm7225_r_fp4
 &&&%%%root cause:Coding
 &&&%%%Bug category:T2M
 &&&%%%Module_Impact:kernel
 &&&%%%Test_Suggestion:NA
 &&&%%%Solution:read i2c status before read mcf
 &&&%%%Test_Report:test is ok
 &&&%%%VAL Can Test:yes

Change-Id: Ieed2eff13997677e64bd5f5b47d2cff04b9c207c
parent 1eae2db8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1118,6 +1118,12 @@ int himax_chip_common_probe(struct i2c_client *client,
	if (ret < 0)
		goto err_common_init_failed;

	ret = g_core_fp.fp_read_i2c_status();
	if (ret) {
		E("i2c communication error\n");
		goto err_common_init_failed;
	}

	g_core_fp.read_mcf_data();

	return ret;