]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdecadfba487b8ca763f2ed4efab9ec074ece4bad
tree6b60c23b431c02e055a17cf7323ccb79a89eed64
parent91c3f36538b7ae42f05d96c8f17e19692e385ab2
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