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

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

Merge "ASoC: msm: qdsp6v2: Fix ion_import failure"

parents 7c10bb1e 2777cb58
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ int msm_audio_ion_import_legacy(const char *name, struct ion_client *client,
		pr_err("%s: ion import dma buffer failed\n",
			__func__);
		rc = -EINVAL;
		goto err_destroy_client;
		goto err;
	}

	if (ionflag != NULL) {
@@ -388,10 +388,6 @@ int msm_audio_ion_import_legacy(const char *name, struct ion_client *client,

err_ion_handle:
	ion_free(client, *handle);
err_destroy_client:
	msm_audio_ion_client_destroy(client);
	client = NULL;
	*handle = NULL;
err:
	return rc;
}