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

Commit 53679dae authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian Committed by Rohit Vaswani
Browse files

soc: qcom: glink_smem_native_xprt: 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: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 987bbebd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -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_no_log(*src_local++, dest_local++);
		__raw_writel(*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_no_log(src_local++);
		*dest_local++ = __raw_readl(src_local++);

	return dest;
}