hgafb: 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:28 +0000 (10:31 +0200)
commit7b116e54920ff9b8bf082fb3c371187ed075ac38
tree5ef920ae6e2824483e5d89204756aa0cf29f1787
parent1d4b695fa32b707b40fe2dab6a21a39bd91f4615
hgafb: 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>
drivers/video/hgafb.c