Revert "soc: qcom: msm_smd: Use correct IO Read/Write"
This reverts commit c064e79d29
("soc: qcom: msm_smd: Use correct IO
Read/Write").
Use no_log variant of IO Read/Write APIs to avoid log storm and improve
performance.
CRs-Fixed: 1001212
Change-Id: I37cf5b22f263448eaed5fa039a5d32c707db5d29
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
This commit is contained in:
parent
e1490c2ae3
commit
76de914f49
1 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ static void *smd_memcpy32_to_fifo(void *dest, const void *src, size_t num_bytes)
|
||||||
num_bytes /= sizeof(uint32_t);
|
num_bytes /= sizeof(uint32_t);
|
||||||
|
|
||||||
while (num_bytes--)
|
while (num_bytes--)
|
||||||
__raw_writel(*src_local++, dest_local++);
|
__raw_writel_no_log(*src_local++, dest_local++);
|
||||||
|
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
@ -310,7 +310,7 @@ static void *smd_memcpy32_from_fifo(void *dest, const void *src,
|
||||||
num_bytes /= sizeof(uint32_t);
|
num_bytes /= sizeof(uint32_t);
|
||||||
|
|
||||||
while (num_bytes--)
|
while (num_bytes--)
|
||||||
*dest_local++ = __raw_readl(src_local++);
|
*dest_local++ = __raw_readl_no_log(src_local++);
|
||||||
|
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue