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

Commit 3ded0418 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm/sde/rotator: fix probe defferal issue"

parents 65205701 470e71e9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -820,6 +820,13 @@ int sde_rotator_base_init(struct sde_rot_data_type **pmdata,
	int rc;
	struct sde_rot_data_type *mdata;


	/* if probe deferral happened, return early*/
	if (sde_rot_res) {
		SDEROT_ERR("Rotator data already initialized, skip init\n");
		return 0;
	}

	mdata = devm_kzalloc(&pdev->dev, sizeof(*mdata), GFP_KERNEL);
	if (mdata == NULL)
		return -ENOMEM;