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

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

Merge "qseecom: Use qseecom_ta_heap as cacheable for cmnlib & app loading"

parents a66df801 e30e1341
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4144,6 +4144,7 @@ static int __qseecom_allocate_img_data(struct ion_handle **pihandle,
	struct ion_handle *ihandle = NULL;
	u8 *img_data = NULL;
	int retry = 0;
	int ion_flag = ION_FLAG_CACHED;

	do {
		if (retry++) {
@@ -4152,7 +4153,7 @@ static int __qseecom_allocate_img_data(struct ion_handle **pihandle,
			mutex_lock(&app_access_lock);
		}
		ihandle = ion_alloc(qseecom.ion_clnt, fw_size,
			SZ_4K, ION_HEAP(ION_QSECOM_TA_HEAP_ID), 0);
			SZ_4K, ION_HEAP(ION_QSECOM_TA_HEAP_ID), ion_flag);
	} while (IS_ERR_OR_NULL(ihandle) &&
			(retry <= QSEECOM_TA_ION_ALLOCATE_MAX_ATTEMP));