Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp970734rbd; Fri, 23 Feb 2024 09:02:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMduGNaevBn93h+qCPP8wVxWv28UeZsFqTbND15Zv/6gtmclj0bbmu6aXeWF2IX1Vq0PlKNVTBx8D8NCG2whoFDa8KslAJW+seh6y4YQ== X-Google-Smtp-Source: AGHT+IHbPJ1uwjv8WWt8HvfiCOW7XhNQo6erxolPLXQ/oJbEIwTcAMlpRw6/hS0CnuXoWVECguuU X-Received: by 2002:a05:6a20:d488:b0:19e:b925:f191 with SMTP id im8-20020a056a20d48800b0019eb925f191mr548062pzb.10.1708707775928; Fri, 23 Feb 2024 09:02:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708707775; cv=pass; d=google.com; s=arc-20160816; b=K+1aPZlyrdBTQzWFEMKIWjOatdz7MbR8NH0Oe1BBivvJNaR204LzqsMKyG9cacu08m 0W8nfhB3mfyGlp4DwMsypK42tgYvZbAW57HkV31nv/1y21DHOvThJLfK8fmPo3uNjcas rV8oO0xdE9PPSO6bKtQpShsQklK+0zXET82HYAOy7JycB6Qct+MKzOdX1Ed09kpotmVB pzJtD9WRSss9WteA5AR8p/2xCbZb06qr0x6oqgXfRRfKZmeCE89CZ8L1ABa6QKMggxAz 8fZuCNuFIPAd05MX0mjK0VqNDyiyaY4swtYeDiJMGSRUuvca2dmdCcTnbk5yAqUkMsw2 t6Qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=M+Hrfpck8koAiLLYsl/FncZrXT662LfknHk7F/PgcTw=; fh=xoLvGgEhvQ3c9bwRJ4navlfHJT9mSYS+UrboOXbmGlY=; b=oThLcejqUUcpzgLWn0jzO0+nVWDMPzvRp+CxzZfw81AHGo3agL7rvAGKUVP5zmzDQF y90vmduOCT9Kd+0ATVeI7U7o4Iy37u7mX/MRFViLybO2T60GuK8RwVBRceenUbxhD46h j40bZVh1orkA8Fn0iEPhMeRon76Br22vGZeRNywr4wQ+8H1xVVRVc3qMwaV7HksDifnt rEdLRHY3ytfVJ96BSAtlS9hZNfD+Bt62yP0exFZbF9OfBJAo25BAByV91HTTXK/eNHIL OLPaSTyOFBgePpo7qjMrFCcwOSZ3lypfRq8vW/6E7kMaCqAfzEGex04ZRvkFibnR7rTN sGEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o+1xBZ+4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78777-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78777-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u63-20020a638542000000b005d4fdff9a2csi12096695pgd.328.2024.02.23.09.02.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:02:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78777-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o+1xBZ+4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78777-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78777-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9F055286BCC for ; Fri, 23 Feb 2024 17:02:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64675128834; Fri, 23 Feb 2024 17:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o+1xBZ+4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64DD7128815; Fri, 23 Feb 2024 17:02:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708707745; cv=none; b=NljWXrqEg53VKSaaGHf9e/mbxzd95o/tJOn1SgXOynHSnuYRRZ0TEt20TPM/fC0FZqB6fJx+PKJa3ysjRStUquMUpQxr14HguutUfY+g6D9oHBKV8tgX7Y1LJEPXdcB1vCPvyGC+eo0UiL1MRNpmsmVdtfqjW6l0WAaKqkCJOuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708707745; c=relaxed/simple; bh=2o5JTRd3DSLZEMCMjL2aEPBU20fNxBNrc7mjVBw+7kc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=tg+QMNmlMSb8G2DhJiHuWUU68XP6j9rUGlcGSyIdc+HaznXyFPIK9h4LGgbQpwVSo9TrWgeiHbv2EnHc1alkExjPdf19uhgFZJwbNwtcLxqOmKwuRckXUctwSl88PGqPsm9+CggLaW0yB6+yRw9HJMq4GwG30UrhHRAtQKvheNQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o+1xBZ+4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6338FC433F1; Fri, 23 Feb 2024 17:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708707745; bh=2o5JTRd3DSLZEMCMjL2aEPBU20fNxBNrc7mjVBw+7kc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=o+1xBZ+4fsS6hVxXlzE4Esjcw5DWE+4AqLCXAV/E6hescN5VFBzaVp5Ml59UVr1Vj NzMDNV2UJfA3il+FBx6bweSe4q5iNn+Y/+Okyy8D9oxMiQJFZ7ov+9NLXfrATx7QB+ XvZXB3wXhotzo91inun1fUnroamTPKzvz5IwEWq5UPGOpRldJMjPJc9i8upC/fq++8 FQlwge+dM5xQ14mVJVPiJ0s3ILgC5sJg1czRw6U13HxhT74bm8j+UbSL+41i/95ral vu/+41W8+SF6cvkjkAKA2HG8euWXKsu98br8kgE2I8D8kcRd5Xk5bIIG9HoQYnHKY6 SlXDMhmaJSzog== From: Lee Jones To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller , Andrew Morton , "G.Shark Jeong" , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maximilian Weigand , Luca Weiss Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org In-Reply-To: <20240220-lm3630a-fixups-v1-0-9ca62f7e4a33@z3ntu.xyz> References: <20240220-lm3630a-fixups-v1-0-9ca62f7e4a33@z3ntu.xyz> Subject: Re: (subset) [PATCH 0/4] Various fixes for the lm3630a backlight driver Message-Id: <170870774114.1756675.11800657479764151316.b4-ty@kernel.org> Date: Fri, 23 Feb 2024 17:02:21 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.4 On Tue, 20 Feb 2024 00:11:18 +0100, Luca Weiss wrote: > On the MSM8974 Nexus 5 and OnePlus One phones (latter doesn't have > display upstream) the display backlight was turning off whenever you > would write a brightness to sysfs since a recent commit to the driver > (kernel v6.5). > > backlight: lm3630a: Turn off both led strings when display is blank > > [...] Applied, thanks! [1/4] backlight: lm3630a: Initialize backlight_properties on init commit: 4602c7615989e6e7052e317995a66014eb318082 [2/4] backlight: lm3630a: Don't set bl->props.brightness in get_brightness commit: ebb3b9a65b56e9b21841ab9a15b946407cd6b104 [3/4] backlight: lm3630a: Use backlight_get_brightness helper in update_status commit: 3c40590fafd4cc2447fb482a640c450e1a58ffa1 -- Lee Jones [李琼斯]