atmel_lcdfb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:43 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:03:41 +0000 (15:03 +0900)
commit895607ec5c7d7b0d840416db6499f83a0ee187af
tree12acd59ccd2f310f94fe4667ce01b6219f931d33
parent5dac1518373824dc36fef9efc4d80491eb0ed50f
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>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/atmel_lcdfb.c