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

Commit 32407c42 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: Handle error in eagle driver"

parents 35afb780 d68d6f3f
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -502,10 +502,11 @@ static int _sendcache_post(int port_id, int copp_idx, int topology)
	}

	index = adm_validate_and_get_port_index(port_id);
	if (index < 0)
	if (index < 0) {
		eagle_postcache_err("%s: Invalid port idx %d port_id %#x",
			__func__, index, port_id);
	else
		return -EINVAL;
	}
	eagle_postcache_dbg("%s: valid port idx %d for port_id %#x set to %i",
		__func__, index, port_id, copp_idx);
	_cidx[index] = copp_idx;