mb862xxfb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:52 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:04:23 +0000 (15:04 +0900)
commitf316fe726a0edd3941111b61681bb8bbd4fda2e6
tree264d70c1c9a071b8806fa2f2a56f90a4807e379e
parent3362903cad196d2a8ba340c0c3c5889db3b65c68
mb862xxfb: 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: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/mb862xx/mb862xxfbdrv.c