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

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

Merge "soc: qcom: Do not clear segments if pil boot failed in memory allocation"

parents 892f600d c4abb531
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -913,7 +913,7 @@ out:
					&desc->attrs);
					&desc->attrs);
			priv->region = NULL;
			priv->region = NULL;
		}
		}
		if (desc->clear_fw_region)
		if (desc->clear_fw_region && priv->region_start)
			pil_clear_segment(desc);
			pil_clear_segment(desc);
		pil_release_mmap(desc);
		pil_release_mmap(desc);
	}
	}