ipu: don't follow interface pixfmt again since 32-bit is problematic

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
This commit is contained in:
Matt Sealey
2013-05-22 17:28:56 -05:00
parent 1c537cf431
commit a4cb4046ce

View File

@@ -1675,9 +1675,11 @@ static int mxcfb_setup(struct fb_info *fbi, struct platform_device *pdev)
if (plat_data && !mxcfbi->ipu_di_pix_fmt) {
mxcfbi->ipu_di_pix_fmt = plat_data->interface_pix_fmt;
#if 0
/* try and use a bit depth closest to the bit depth we use for the panel */
if (!mxcfbi->default_bpp)
mxcfbi->default_bpp = pixfmt_to_bpp(plat_data->interface_pix_fmt);
#endif
}
if (!mxcfbi->default_bpp)