pm2fb: 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:33:16 +0000 (10:33 +0200)
commit3bb8c31dea4f4fe41c954e1a02ac3cdd8ee6747f
tree3d46d72dceb8ed59d5e8ddb2a2b70022d78ca9cb
parent4935ebf43cedadcaffa56cd59449c8b6dda6d507
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>
drivers/video/pm2fb.c