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

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

Merge "soc: qcom: glink_ssr: Clear cb_data if channel open fails"

parents fff8b107 8a101791
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -651,7 +651,8 @@ static int configure_and_open_channel(struct subsys_info *ss_info)
				 open_cfg.edge, open_cfg.name, __func__);
		kfree(cb_data);
		cb_data = NULL;
		return -ENOMEM;
		ss_info->cb_data = NULL;
		return PTR_ERR(handle);
	}
	ss_info->handle = handle;
	return 0;