soc: qcom: smp2p: Add logs in smp2p_update_bits

Add debug logs when client modify the smp2p entry.

Change-Id: I777e6496dc9042d1bfd8fbe31210880b15aa1c30
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
This commit is contained in:
Arun Kumar Neelakantam 2018-09-12 12:23:57 +05:30 • committed by Gerrit - the friendly Code Review server
commit 3e57835f86

View file

@ -424,6 +424,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);