pm3fb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:56 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:04:06 +0000 (15:04 +0900)
commit1fdb518f9f9c804d78e84a54ce1814fe9003bca4
tree48fa1ae4e0bd253e35869fc03e89c193ac010f72
parentdf2d79810930ead3112b4ebab86ea0f9229ccf70
pm3fb: 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: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/pm3fb.c