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

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

Merge "msm: smd: fix SMD probe initialization race condition"

parents c4c6c544 e76e482e
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2639,7 +2639,6 @@ static irqreturn_t smsm_irq_handler(int irq, void *data)
		if (old_apps != apps) {
			SMSM_DBG("<SM %08x NOTIFY>\n", apps);
			__raw_writel(apps, SMSM_STATE_ADDR(SMSM_APPS_STATE));
			do_smd_probe();
			notify_other_smsm(SMSM_APPS_STATE, (old_apps ^ apps));
		}

@@ -3084,10 +3083,9 @@ void smd_post_init(bool is_legacy)
	if (is_legacy) {
		smd_initialized = 1;
		smd_alloc_loopback_channel();
		tasklet_schedule(&smd_fake_irq_tasklet);
	} else {
		schedule_work(&probe_work);
	}

	schedule_work(&probe_work);
}

/**