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

Commit 83fd1916 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: remove MSM_SHARED_RAM_BASE dependence"

parents 0c72ae73 b861aa0a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2512,7 +2512,6 @@ static int smsm_cb_init(void)

static int smsm_init(void)
{
	struct smem_shared *shared = (void *) MSM_SHARED_RAM_BASE;
	int i;
	struct smsm_size_info_type *smsm_size_info;
	unsigned long flags;
@@ -2561,7 +2560,7 @@ static int smsm_init(void)

		if (smsm_info.state) {
			__raw_writel(0, SMSM_STATE_ADDR(SMSM_APPS_STATE));
			if ((shared->version[VERSION_MODEM] >> 16) >= 0xB)
			if ((smem_get_version(VERSION_MODEM) >> 16) >= 0xB)
				__raw_writel(0, \
					SMSM_STATE_ADDR(SMSM_APPS_DEM_I));
		}