From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] LCD backlight driver using Atmel PWM driver
Date: Mon, 14 Jul 2008 09:11:02 +0200 [thread overview]
Message-ID: <1216019462.7672.6.camel@localhost> (raw)
In-Reply-To: <20080711121752.56db3d83.akpm@linux-foundation.org>
On Fri, 2008-07-11 at 12:17 -0700, Andrew Morton wrote:
> On Wed, 9 Jul 2008 15:08:06 +0200 Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> 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.
>
I also found it a bit weird having two fields indicating the same, but
the header file has the following documentation:
/* Current FB Power mode (0: full on, 1..3: power saving
modes; 4: full off), see FB_BLANK_XXX */
int power;
/* FB Blanking active? (values as for power) */
int fb_blank;
So, AFAIK, my assumptions are correct to get proper blanking?
--
With kind regards,
Hans-Christian Egtvedt, Applications Engineer
prev parent reply other threads:[~2008-07-14 7:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 13:08 [PATCH 1/1] LCD backlight driver using Atmel PWM driver Hans-Christian Egtvedt
2008-07-11 19:17 ` Andrew Morton
2008-07-14 7:11 ` Hans-Christian Egtvedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1216019462.7672.6.camel@localhost \
--to=hans-christian.egtvedt@atmel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.