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

Commit 9b9dc697 authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam
Browse files

soc: qcom: smp2p: Add logs in smp2p_update_bits



Add debug logs when client modify the smp2p entry.

Change-Id: I777e6496dc9042d1bfd8fbe31210880b15aa1c30
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent a2e859ee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -420,6 +420,8 @@ static int smp2p_update_bits(void *data, u32 mask, u32 value)
	val |= value;
	writel(val, entry->value);
	spin_unlock(&entry->lock);
	SMP2P_INFO("%d: %s: orig:0x%0x new:0x%0x\n",
		   entry->smp2p->remote_pid, entry->name, orig, val);

	if (val != orig)
		qcom_smp2p_kick(entry->smp2p);