Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp746639rwd; Thu, 18 May 2023 03:27:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iOVLH9Gh4UpyKCxcnRHxxCMWBKdDM+PYt27Chg0Xl338AbcfZWgHRbGWGaqD7uHk836Be X-Received: by 2002:a05:6a20:4393:b0:101:1951:d4ae with SMTP id i19-20020a056a20439300b001011951d4aemr1621979pzl.14.1684405635890; Thu, 18 May 2023 03:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684405635; cv=none; d=google.com; s=arc-20160816; b=g7RfSwH3CGB/HDIT42utIRU1ZopdPJUjLsywYt9kP8zATJjeyyXlvsN8eHtYUEfM2l D7FQ0qZuaaHx5M6JWsaqlD7fMG47zlrOuyUmGHfoaWOIA3NePzFEGMjvGOrvDLUo5pRx Xtw9l1vHfVAmkb9ITg/rUnBmWhbtBLr1UB5zFltLTJdnOfEocZ/Kig3UPOOtndH7Xheh 3MN+CSFOJ9yrjgUBg4LbShIH3dBNU1tr5hOqDUGd2iVvaPpYAHU9FeW3FrzloPa8n9Pc woaLRRI8+MNIRewUHPi6JMYi/JSM3P8PbGUyR/Ke5U78wO58ABAV8v/jwsb5UxVkmFJm 0e/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=a68lFOiEnv5AhabgC7s5aFf1hxemYp7yiR6AxWJsBmQ=; b=pz/MdFE/htA70fh6OBBueQtHs3oQVj9gFE52tHtYihvOWW0VaJxzJVb4Z0AMFMRvA6 cOS/gWwPXA+SqalYSRhThzFdRhx10+YDa4wYPm4XCgl6Rm0ndBk+Xu+aukKU7EzPiS5j UtkaR9q5v53QHACA94cAsmp+zgsmKS9Twt+ARDP4haIkKwKBH1BweQweE7fI85XoXE0H VIr8C7bCuxOYuBmsZKptk7N8pRQJrJ3cd/4n0i4gXNDaHPGnim8NSV1BLOBUuNMKailv +c5foBU3y/u5gveYPy14usqvu7f2r8Z1oUWt7+oxM8DMzftqm2DXeT2Ak/MMnKPsoo5O bq3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pFOoiG43; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020a17090a8a9000b00253629bb4besi1184398pjn.119.2023.05.18.03.27.01; Thu, 18 May 2023 03:27:15 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pFOoiG43; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230522AbjERKQj (ORCPT + 99 others); Thu, 18 May 2023 06:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbjERKQO (ORCPT ); Thu, 18 May 2023 06:16:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A05472686; Thu, 18 May 2023 03:15:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1BA3D61CBE; Thu, 18 May 2023 10:15:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57737C433EF; Thu, 18 May 2023 10:15:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684404950; bh=uBbt+WuNwyKBCJiUPk2UbCj3sGzTHUx1o8GlXmVog6Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pFOoiG43ev/5LiFXeTp54x5mxeSbp/84SkcrtrOYIGBZObh7KtuoIydPvoK4TOcHq DgIvjyxHRdkMZ2pgLWQU/wXRlt/J4mBaQmkF+soR6EmO0+hMhBRZOVxhQMUogQWduT K/3ISJbCnBAIyUq/yIhW7gjOJY9ldQD/D2G4Qt2nOC8y45LPDxdqdtyb4QfavU4j/a zdyTFgzW6DW0MWHcaNDRS4TeQ87VYPo9clOsrJKP8bm5AjVPnu6YObgc/E1B2vfkUR E88CMHM34+OOfpmTLvgX+azrr4oGis/3+njqdwJ3MGtIiOYIaS1fw2dDtyueHjQWsY ZIeSeGJ0dkMJg== Date: Thu, 18 May 2023 11:15:45 +0100 From: Lee Jones To: Maximilian Weigand Cc: Daniel Thompson , Jingoo Han , Helge Deller , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, Maximilian Weigand Subject: Re: [PATCH v2] backlight: lm3630a: turn off both led strings when display is blank Message-ID: <20230518101545.GF404509@google.com> References: <20230510085239.1253896-1-mweigand2017@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230510085239.1253896-1-mweigand2017@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 On Wed, 10 May 2023, Maximilian Weigand wrote: > From: Maximilian Weigand > > Use backlight_is_blank() to determine if the led strings should be turned > off in the update_status() functions of both strings. > > Reviewed-by: Daniel Thompson I moved this tag to the correct place and ... > Signed-off-by: Maximilian Weigand > --- > Changes in v2: > - fix description, replace display_is_black() with backlight_is_black() > - use backlight_get_brightness() instead of accessing the property > directly > > drivers/video/backlight/lm3630a_bl.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Applied, thanks -- Lee Jones [李琼斯]