• Jingoo Han's avatar
    video: s3c-fb: fix virtual resolution checking · 13e6af88
    Jingoo Han authored
    This patch fixes mishandling in virtual resolution checking.
    Previously, virtual resolution is changed to virtual_x and virtual_y
    which mean the size for buffer allocation, when s3c_fb_check_var is
    called by fb_check_var. However, it is meaningless, since virtual_x
    and virtual_y are fixed and user cannot change virtual resolution.
    Therefore, virtual resolution should be more than resolution
    such as xres and yres.
    Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    13e6af88
s3c-fb.c 48 KB