s3fb: 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:34:34 +0000 (10:34 +0200)
commit305e0e4dbcd038625786a40e9fa801ba5b18b2a2
treef25c00f5c4759167ec2ad1d6400e0a09c181307b
parentd8e7a74bf1f1c3d8235e1d939d3e1e96da94ed82
s3fb: 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/s3fb.c