Re: [PATCH 1/3] backlight: Allow drivers to update the core, andgenerate events on changes

From: Matthew Garrett
Date: Tue Jul 14 2009 - 11:48:12 EST


On Tue, Jul 14, 2009 at 02:53:26AM +0100, Matthew Garrett wrote:
> On Tue, Jul 14, 2009 at 08:58:48AM +0800, ykzhao wrote:
>
> > It will be better to send the event to user space only when the
> > brightness is updated successfully.
>
> That guarantees that we have to read back the brightness, which may be
> expensive on some hardware.

Oh, sorry, I see what you mean. I'll update that.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/