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

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

Merge "msm: jpeg: fix get iommu context error handling"

parents 60d64a7b f7d9b4db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1542,7 +1542,7 @@ int __msm_jpeg_init(struct msm_jpeg_device *pgmn_dev)
		JPEG_DBG("%s:%d] name %s", __func__, __LINE__, iommu_name[j]);
		JPEG_DBG("%s:%d] ctx 0x%lx", __func__, __LINE__,
			(unsigned long)pgmn_dev->iommu_ctx_arr[i]);
		if (!pgmn_dev->iommu_ctx_arr[i]) {
		if (IS_ERR_OR_NULL(pgmn_dev->iommu_ctx_arr[i])) {
			JPEG_PR_ERR("%s: No iommu fw context found\n",
					__func__);
			goto error;