sm501fb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 25 May 2011 09:34:52 +0000 (11:34 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 08:35:10 +0000 (10:35 +0200)
commit0aa76b0ce163f929b4e8f41331073814b0ef8612
treed5a8d2bf270ea933cf834de6c24c472f472cc490
parent8e42a962a279369ba3e6a25f321c7cd4d471e633
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>
drivers/video/sm501fb.c