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

Commit 3f7a83bc authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

ASoC: update drivers to handle errors correctly



Avoid logical conflicts seen while error handling.

Change-Id: I4c6b58bfcbd87f4d764fc6b923bf718e5f642ae5
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 0d2b75a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ struct msm_audio_ion_private {
	bool smmu_enabled;
	bool audioheap_enabled;
	struct iommu_group *group;
	u32 domain_id;
	int32_t domain_id;
	struct iommu_domain *domain;
};

+1 −1
Original line number Diff line number Diff line
@@ -3048,7 +3048,7 @@ static ssize_t afe_debug_write(struct file *filp,
				goto afe_error;
			}

			if (param[1] < 0 || param[1] > 100) {
			if (param[1] > 100) {
				pr_err("%s: Error, volume shoud be 0 to 100 percentage param = %lu\n",
					__func__, param[1]);
				rc = -EINVAL;