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

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

Merge "ASoC: wcd_cpe_services: Fix possible NULL pointer de-reference"

parents 9aec4a85 ff7b876f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -989,12 +989,12 @@ static void cpe_svc_core_cmi_handler(
{
	struct cmi_hdr *hdr;

	pr_debug("%s: event = %d\n",
		 __func__, parameter->event);

	if (!parameter)
		return;

	pr_debug("%s: event = %d\n",
		 __func__, parameter->event);

	if (parameter->event != CMI_API_MSG)
		return;