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

Skip to content
Commit 59205756 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

ARM: io.h: Fix RTB macros to be side effect safe



Some people may call readl/writel with incrementing addresses,
i.e.

	writel(x, addr++);

but the macro will not handle this properly because addr is
used twice. Fix it.

Change-Id: I66290d8f8a6aac8c261a0d2bfd2fd7373daa6d7e
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent ec4b001e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment