tridentfb: 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:35:18 +0000 (10:35 +0200)
commit4541dbe154c0703cf47c43389b3544884f5f3522
tree1595f1cfa8427dcd0742a0dfdeb070325f66d405
parent0aa76b0ce163f929b4e8f41331073814b0ef8612
tridentfb: 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/tridentfb.c