atmel_lcdfb: 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:30:02 +0000 (10:30 +0200)
commitb3e9c12949c1e66f3190e430ad096e53df4e1328
tree6b60c23b431c02e055a17cf7323ccb79a89eed64
parenta35a9b79dd44b36b688c493610dfbbdb42aff136
atmel_lcdfb: 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>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/video/atmel_lcdfb.c