neofb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:54 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:03:12 +0000 (15:03 +0900)
commit2bdb0278eec7bb466d2b1b31ecf6e48f10b34fbf
treefd49ce1f26ee7e0bd2e700a6b9d88eaa395eb17a
parent4ee99f7e2edbd32501cb1fc0b701966d7cbe57e4
neofb: 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: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/neofb.c