]> git.karo-electronics.de Git - linux-beck.git/commit
sm501fb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:25:01 +0000 (09:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:03:20 +0000 (15:03 +0900)
commiteca7370bd2f29296126011caed64af93c2c73803
tree8d510e642bc635f0676e66d25f59e796cdb16263
parent1388f6a77296b4fa926c6830f884b08c5ef4beab
sm501fb: 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: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sm501fb.c