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

Commit 14f725a1 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 pointers"

parents bf74933d ddcfbb44
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -551,6 +551,12 @@ static int32_t adm_callback(struct apr_client_data *data, void *priv)
{
	uint32_t *payload;
	int i, index;

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

	payload = data->payload;

	if (data->opcode == RESET_EVENTS) {