[PATCH 10/74] ST SPEAr: Adding support for CLCD on SPEAr3xx/6xx

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Sep 2 05:08:36 EDT 2010


> +static int clcd_check(struct clcd_fb *fb, struct fb_var_screeninfo
> +		*var)
> +{
> +	var->xres_virtual = var->xres = (var->xres + 15) & ~15;
> +	var->yres_virtual = var->yres = (var->yres + 1) & ~1;
> +
> +	var->nonstd = 0;
> +	var->accel_flags = 0;

This looks insufficient.



More information about the linux-arm-kernel mailing list