Re: [PATCH 1/1] LCD backlight driver using Atmel PWM driver

From: Andrew Morton
Date: Fri Jul 11 2008 - 15:19:22 EST


On Wed, 9 Jul 2008 15:08:06 +0200 Hans-Christian Egtvedt <hans-christian.egtvedt@xxxxxxxxx> wrote:

> + if (bd->props.power != FB_BLANK_UNBLANK)
> + intensity = 0;
> + if (bd->props.fb_blank != FB_BLANK_UNBLANK)
> + intensity = 0;

hm, is that correct? It is strange that two different fields can validly
be compared with the same enumeration like this.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/