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

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

Merge "msm: remote_spinlock: Use smem_find_to_proc()"

parents 984b6eda a798d902
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -572,8 +572,10 @@ static int remote_spinlock_init_address_smem(int id, _remote_spinlock_t *lock)
	if (id >= SMEM_SPINLOCK_COUNT)
		return -EINVAL;

	spinlock_start = smem_find(SMEM_SPINLOCK_ARRAY,
				    SMEM_SPINLOCK_ARRAY_SIZE);
	spinlock_start = smem_find_to_proc(SMEM_SPINLOCK_ARRAY,
				    SMEM_SPINLOCK_ARRAY_SIZE,
				    0,
				    SMEM_ANY_HOST_FLAG);
	if (spinlock_start == NULL)
		return -ENXIO;