Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29148449rwd; Wed, 5 Jul 2023 07:52:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlFcVhZsUvXbmw6vNVNzoA65RqRpr1vYbmaPKrYd4zYRm4cP7m+xQ//Y48ZqHYbNaSfD4NcL X-Received: by 2002:a17:902:ea08:b0:1b6:bced:1dd6 with SMTP id s8-20020a170902ea0800b001b6bced1dd6mr14378949plg.35.1688568772090; Wed, 05 Jul 2023 07:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688568772; cv=none; d=google.com; s=arc-20160816; b=qdZNbsgH78jInAms4vBnCOTL0cJtU//h+/5j3d95j6EdcaXZ7P73AwU8tHxpcbuFyi lYMCH1WlioaAj2aNnWIb0VRR8G0rBfI9XHJKwNiSOIRG+QT/t81xwceVdUr1hMm6LhUi vcISsa9paTF26XhEeXZO4DS91p2777FOeyXG8hG6/+LG89N3Jlrotn0LWJ1ZMsmB5q3b wrONHPsqvC6HtZh6Q5y6kwFNmA9L/l4FvmNamzGySP0R/slTypalTT3JX70avKZ0Rn3K KV/QvFU7HTQizwSebIHYV3GjcJAO9swl+IDARMDKCrxJMmoA5i2G6YPVRq7tmFCncnZw mMLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=7Pdio3qj5rR/lNC9reGKJtsv5ZyDal9J4ve1cJeUEYM=; fh=p+zrLhGX6414OWmmGRYdBmkl1fUPTf9QSE0hz5P0dpI=; b=kS1iwQcmG9ldxUqWAT+PklCnJOtIR2ZsCNpLZvDHznRrG3B55dKA8uMDr0bATWHC07 R5O33xq7HccWrpQVptDLIsMKEcD1468YsP+joa/pzevfiSp42ZKbRWZg/4AA9unA67P6 yl1yzAreONY5XQGtWKwMh664oBRWwR4Zo+5r9xG3zpateQsiYMBd8dCkr+ccfdhpDup/ n6TOvX/w6etqxoW3m7E8JZ7d6oJ5UG19G+eyWM4RrGnWqKlvn6O9myqrdqRicULH8sXO Z6imvo/6TiwIuiY9JixRwUngwaKpOmcw5XFXYPhGb/aU3eERQnq9jmyfSPsS1K68C/bL O9tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170902714a00b001b8a42ea3f2si4156966plm.264.2023.07.05.07.52.39; Wed, 05 Jul 2023 07:52:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231658AbjGEOgu convert rfc822-to-8bit (ORCPT + 99 others); Wed, 5 Jul 2023 10:36:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbjGEOgs (ORCPT ); Wed, 5 Jul 2023 10:36:48 -0400 Received: from unicorn.mansr.com (unicorn.mansr.com [81.2.72.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C681B6; Wed, 5 Jul 2023 07:36:47 -0700 (PDT) Received: from raven.mansr.com (raven.mansr.com [IPv6:2001:8b0:ca0d:1::3]) by unicorn.mansr.com (Postfix) with ESMTPS id A472815360; Wed, 5 Jul 2023 15:36:46 +0100 (BST) Received: by raven.mansr.com (Postfix, from userid 51770) id 95B2F219FC1; Wed, 5 Jul 2023 15:36:46 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Daniel Thompson Cc: Lee Jones , Jingoo Han , Helge Deller , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] backlight: led_bl: fix initial power state References: <20230705142447.15546-1-mans@mansr.com> <20230705143320.GE6265@aspen.lan> Date: Wed, 05 Jul 2023 15:36:46 +0100 In-Reply-To: <20230705143320.GE6265@aspen.lan> (Daniel Thompson's message of "Wed, 5 Jul 2023 15:33:20 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Daniel Thompson writes: > On Wed, Jul 05, 2023 at 03:24:14PM +0100, Mans Rullgard wrote: >> The condition for the initial power state based on the default >> brightness value is reversed. Fix it. >> >> Furthermore, use the actual state of the LEDs rather than the default >> brightness specified in the devicetree as the latter should not cause >> the backlight to be automatically turned on. >> >> If the backlight device is not linked to any display, set the initial >> power to on unconditionally. >> >> Fixes: ae232e45acf9 ("backlight: add led-backlight driver") >> Signed-off-by: Mans Rullgard >> --- >> Changes in v3: >> - Add comment > > This mismatches the subject line ;-) but I can live with that if Lee > and Jingoo can! Does it not fix it? If you think the subject is misleading, feel free to change it. -- M?ns Rullg?rd