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

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

Merge "dsp: fix return code check in adm driver" into audio-drivers.lnx.3.0

parents 686869ff e427c419
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -984,7 +984,7 @@ int adm_get_pp_params(int port_id, int copp_idx, uint32_t client_id,
	copp_stat = &this_adm.copp.stat[port_idx][copp_idx];
	atomic_set(copp_stat, -1);
	ret = apr_send_pkt(this_adm.apr, (uint32_t *) &adm_get_params);
	if (ret) {
	if (ret < 0) {
		pr_err("%s: Get params APR send failed port = 0x%x ret %d\n",
		       __func__, port_id, ret);
		ret = -EINVAL;
@@ -1100,7 +1100,7 @@ int adm_get_pp_topo_module_list_v2(int port_id, int copp_idx,
	copp_stat = &this_adm.copp.stat[port_idx][copp_idx];
	atomic_set(copp_stat, -1);
	ret = apr_send_pkt(this_adm.apr, (uint32_t *) &adm_get_module_list);
	if (ret) {
	if (ret < 0) {
		pr_err("%s: APR send pkt failed for port_id: 0x%x failed ret %d\n",
		       __func__, port_id, ret);
		ret = -EINVAL;