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

Commit bf74933d 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: Check for null data pointer"

parents f775fb7f c6c9c007
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -41,6 +41,11 @@ static int32_t aprv2_core_fn_q(struct apr_client_data *data, void *priv)
	uint32_t nseg;
	int i, j;

	if (data == NULL) {
		pr_err("%s: data argument is null", __func__);
		return -EINVAL;
	}

	pr_debug("core msg: payload len = %u, apr resp opcode = 0x%X\n",
		data->payload_size, data->opcode);