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

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

Merge "ASoC: wcd9xxx: Add check for pointer before dereferencing"

parents 9fd6456b 712cb1f8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -596,6 +596,9 @@ wcd9xxx_get_irq_drv_d(const struct wcd9xxx_core_resource *wcd9xxx_res)
		return NULL;

	domain = irq_find_host(pnode);
	if (unlikely(!domain))
		return NULL;

	return (struct wcd9xxx_irq_drv_data *)domain->host_data;
}