s3c-fb: 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:12 +0000 (10:34 +0200)
commitd8e7a74bf1f1c3d8235e1d939d3e1e96da94ed82
treef9e5b38b40b2283a945e7a6be579e56cadd92605
parent01cba946e38eaa7071fd6fc756eedeecfcec3dd6
s3c-fb: 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>
Acked-by: Jingoo Han <jg1.han@samsung.com>
drivers/video/s3c-fb.c