pm2fb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:55 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:03:33 +0000 (15:03 +0900)
commitdf9306de45529f02d18a1a16b8685ef5c90f98f7
tree535d60b83abb4cfae981f362d4c21ee95c1afa36
parentc2d340a403f08e57fb76e738e691fe466a38a8c8
pm2fb: 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/pm2fb.c