summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2009-10-22 06:34:34 (GMT)
committerEric Miao <eric.y.miao@gmail.com>2009-12-01 01:02:29 (GMT)
commit448ac479768d6c242338ecf13569dc297f8908ce (patch)
treef5c435e8af9c429fb023c7467fb8238a1fcc31c3 /block
parent7f49a7f7011f3a59b51dd6003714d7aed72d7718 (diff)
downloadlinux-fsl-qoriq-448ac479768d6c242338ecf13569dc297f8908ce.tar.xz
pxafb: use passed fb_var_screeninfo struct in pxafb_pan_display()
pxafb_pan_display() used to ignore the fb_var_screeninfo parameter. Now pass it to setup_base_frame() instead of pulling default values out of fb_info. And the original patch has an issue of pxafb_pan_display() paying only attention to the 'var' parameter passed in, and Ville Syrjälä pointed out, this is potentially dangerous as user could pass in any other screeninfo parameters as well, and not only such that are relevant for display panning. This is fixed by limiting the arguments actually used to .xoffset, .yoffset and .vmode & FB_VMODE_YWRAP. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Cc: Ville Syrjälä <syrjala@sci.fi> Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions