acornfb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:41 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:04:10 +0000 (15:04 +0900)
commit1dbe8514fdb9ec6c82aa295c57886dfcf17574f1
tree34ab64818fa47bd15a515b3e4af20a1d11017b44
parent1fdb518f9f9c804d78e84a54ce1814fe9003bca4
acornfb: 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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/acornfb.c