fbdev: unicore32: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:46 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:04:15 +0000 (15:04 +0900)
commitaa7984cf51875bbb867485a72817bca5162fe80d
tree4c79e39f3d9834bcc43834ef96cc19816837f77d
parent1dbe8514fdb9ec6c82aa295c57886dfcf17574f1
fbdev: unicore32: use display information in info not in var for panning

We must not use any information in the passed var besides xoffset,
yoffset and vmode as otherwise applications might abuse it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/fb-puv3.c