vt8623fb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:25:06 +0000 (09:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:04:40 +0000 (15:04 +0900)
commit83f0e27c253554b7be329e2786d0814a276fd240
tree47369965cfd6adedb9ae16d7f930e76db138a82c
parentc6990b775d543c432f968808119d7fe33d506a71
vt8623fb: 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>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/vt8623fb.c