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

Commit b4ff7539 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: fix check for igc read"

parents 60b70f14 21d94bfd
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;