]> git.baikalelectronics.ru Git - kernel.git/commit
video: mb862xxfb: correct fix.smem_len field initialization
authorAnatolij Gustschin <agust@denx.de>
Fri, 13 May 2011 09:05:08 +0000 (11:05 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 24 May 2011 14:28:51 +0000 (16:28 +0200)
commit3c4d80afb439a34aafa7222b57eb216d14b9579f
tree8aab5f567d215e70b25161b10de4fe78e5893a56
parent37caba5c0d6ba3780b4d2e4d34d46c13fef3056f
video: mb862xxfb: correct fix.smem_len field initialization

Initialize smem_len field to the actual frame buffer size and
not to the whole video RAM size. This prevents overwriting
other video memory (which could be used by other layers, cursors
or accelerated drivers) by frame buffer applications relying on
fix.smem_len.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/mb862xx/mb862xxfb.c