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

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

Merge "msm: ipa: test: add destroy workqueue for fail cases"

parents dbd52dbb f62fab69
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -971,6 +971,7 @@ static int ipa_ut_framework_init(void)
		IS_ERR(ipa_ut_ctx->test_dbgfs_root)) {
		IPA_UT_ERR("failed to create test debugfs dir\n");
		ret = -EFAULT;
		destroy_workqueue(ipa_ut_ctx->wq);
		goto unlock_mutex;
	}

@@ -980,6 +981,7 @@ static int ipa_ut_framework_init(void)
	if (!dfile_enable || IS_ERR(dfile_enable)) {
		IPA_UT_ERR("failed to create enable debugfs file\n");
		ret = -EFAULT;
		destroy_workqueue(ipa_ut_ctx->wq);
		goto fail_clean_dbgfs;
	}