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

Commit 69cf5ab2 authored by Huacai Chen's avatar Huacai Chen Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: Fix parameter mistake in poke32



commit 16808dcf upstream.

In commit c075b6f2 ("staging: sm750fb: Replace POKE32 and PEEK32
by inline functions"), POKE32 has been replaced by the inline function
poke32. But it exchange the "addr" and "data" parameters by mistake, so
fix it.

Fixes: c075b6f2 ("staging: sm750fb: Replace POKE32 and PEEK32 by inline functions"),
Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
Signed-off-by: default avatarLiangliang Huang <huangll@lemote.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bbcb8d29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ static inline u32 peek32(u32 addr)
	return readl(addr + mmio750);
}

static inline void poke32(u32 data, u32 addr)
static inline void poke32(u32 addr, u32 data)
{
	writel(data, addr + mmio750);
}