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

Commit 258c0ea2 authored by Thomas Niederprüm's avatar Thomas Niederprüm Committed by Tomi Valkeinen
Browse files

fbdev: ssd1307fb: fix memory address smem_start.



the smem_start pointer of the framebuffer info struct needs to hold the
physical address rather than the logical address. Right now the logical
address returned by kmalloc is stored. This patch converts this address
to a physical address and thus fixes a driver crash on mmaping the
framebuffer memory due to an access to the wrong memory address.

Signed-off-by: default avatarThomas Niederprüm <niederp@physik.uni-kl.de>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 2fa3b4c4
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