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

Commit 21d94bfd authored by gopikrishnaiah Anand's avatar gopikrishnaiah Anand Committed by Gopikrishnaiah Anandan
Browse files

msm: mdss: fix check for igc read



IGC length is same for all versions of igc.
Remove the check for igc version in igc read function.

Change-Id: Iaa3cc91db0b2ba6a3e3fb00eb0b1ea5405e0ef9b
CRs-fixed: 1109117
Signed-off-by: default avatarGopikrishnaiah Anand <agopik@codeaurora.org>
parent f90af475
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3824,8 +3824,7 @@ int mdss_mdp_igc_lut_config(struct msm_fb_data_type *mfd,
	disp_num = config->block - MDP_LOGICAL_BLOCK_DISP_0;

	if (config->ops & MDP_PP_OPS_READ) {
		if (config->len != IGC_LUT_ENTRIES &&
		    !pp_ops[IGC].pp_get_config) {
		if (config->len != IGC_LUT_ENTRIES) {
			pr_err("invalid len for IGC table for read %d\n",
			       config->len);
			return -EINVAL;