fbdev: sh_mobile_lcdc: use display information in info for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 31 Aug 2011 11:00:55 +0000 (13:00 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 5 Sep 2011 16:37:14 +0000 (16:37 +0000)
commitdc1d5adab5cc57eb732407d80c9e7ae48891ffca
treef175232ed9e28871eaafef9bb47646ef8861296e
parented5bebf29e82beab3456901e26a495ae0a49ebad
fbdev: sh_mobile_lcdc: use display information in info 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>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/sh_mobile_lcdcfb.c