fbdev: sh_mobile_lcdc: Adjust requested parameters in .fb_check_var
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 31 Aug 2011 11:00:53 +0000 (13:00 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 5 Sep 2011 16:37:13 +0000 (16:37 +0000)
commit0386219441d48e0f0902e9f145f0d75ad952d753
treec63b4cce6f9e1012837befb4b3422a35822157bc
parentda6cf5125f66ed1810616937777884cea021e66a
fbdev: sh_mobile_lcdc: Adjust requested parameters in .fb_check_var

Instead of failing when the requested fb_var_screeninfo parameters are
not supported, adjust the parameters according to the hardware
capabilities.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/sh_mobile_lcdcfb.c