Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755037AbZGNPsH (ORCPT ); Tue, 14 Jul 2009 11:48:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754846AbZGNPsG (ORCPT ); Tue, 14 Jul 2009 11:48:06 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:44142 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754506AbZGNPsF (ORCPT ); Tue, 14 Jul 2009 11:48:05 -0400 Date: Tue, 14 Jul 2009 16:48:03 +0100 From: Matthew Garrett To: ykzhao Cc: "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "rpurdie@rpsys.net" , "lenb@kernel.org" , "Zhang, Rui" , "corentincj@iksaif.net" Subject: Re: [PATCH 1/3] backlight: Allow drivers to update the core, and generate events on changes Message-ID: <20090714154803.GA26311@srcf.ucam.org> References: <1247517685-7719-1-git-send-email-mjg@redhat.com> <1247533128.3704.9.camel@localhost.localdomain> <20090714015326.GA9044@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090714015326.GA9044@srcf.ucam.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 18 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@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/