diff options
| author | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | 2016-04-07 17:55:44 -0600 |
|---|---|---|
| committer | Bryan Huntsman <bryanh@codeaurora.org> | 2016-04-12 15:49:50 -0700 |
| commit | e1490c2ae3cfa31ea346deff074dcfee76d72d98 (patch) | |
| tree | 6e29fb9d5f482ba5614427dd060ac4379b090ba2 | |
| parent | 1136cf88f2ddc19fa53b50f88feecf98c1e05bfc (diff) | |
Revert "soc: qcom: glink_smem_native_xprt: Use correct IO Read/Write"
This reverts commit 53679dae72da ("soc: qcom: glink_smem_native_xprt:
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: I89d9dd8b4cb720f8f968df2a35cbb52b4d09b589
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/glink_smem_native_xprt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/qcom/glink_smem_native_xprt.c b/drivers/soc/qcom/glink_smem_native_xprt.c index 7724ae6e4408..ffcd44168fbf 100644 --- a/drivers/soc/qcom/glink_smem_native_xprt.c +++ b/drivers/soc/qcom/glink_smem_native_xprt.c @@ -313,7 +313,7 @@ static void *memcpy32_toio(void *dest, const void *src, size_t num_bytes) num_bytes /= sizeof(uint32_t); while (num_bytes--) - __raw_writel(*src_local++, dest_local++); + __raw_writel_no_log(*src_local++, dest_local++); return dest; } @@ -339,7 +339,7 @@ static void *memcpy32_fromio(void *dest, const void *src, size_t num_bytes) num_bytes /= sizeof(uint32_t); while (num_bytes--) - *dest_local++ = __raw_readl(src_local++); + *dest_local++ = __raw_readl_no_log(src_local++); return dest; } |
