fbdev: unicore32: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 25 May 2011 09:34:52 +0000 (11:34 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 08:31:01 +0000 (10:31 +0200)
commit465cb7e700e8564fd2d76d5c7f3703eb07659617
tree9f4c8df143a71eac0e61515aab660b650241cd48
parent8b76c6827991858a52841b6c20fea91a12499d6f
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>
Tested-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
drivers/video/fb-puv3.c