arkfb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:42 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:04:32 +0000 (15:04 +0900)
commit7b8067f202b9dc0b6baea1dee918d95e3112f2a5
tree593099b654bbf7e3286de98b34ff0f48fb2a9613
parent3b30f9f437eed6a1fd7f306fa0d2ab1e18e44a1f
arkfb: 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: Ondrej Zajicek <santiago@crfreenet.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/arkfb.c