soc: qcom: msm_smd: Use correct IO Read/Write
The __raw_writel_no_log and __raw_readl_no_log APIs have been deprecated. Use the alternate IO Read/Write APIs. Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
This commit is contained in:
parent
82e136e3fd
commit
c064e79d29
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_no_log(*src_local++, dest_local++);
|
__raw_writel(*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_no_log(src_local++);
|
*dest_local++ = __raw_readl(src_local++);
|
||||||
|
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue