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

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

Merge "msm: tspp: add null check in sps callback"

parents 69ab1ac6 c3fe8884
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -571,8 +571,12 @@ static irqreturn_t tsif_isr(int irq, void *dev)
/*** callbacks ***/
static void tspp_sps_complete_cb(struct sps_event_notify *notify)
{
	struct tspp_device *pdev = notify->user;
	struct tspp_device *pdev;

	if (!notify || !notify->user)
		return;

	pdev = notify->user;
	tasklet_schedule(&pdev->tlet);
}