Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp283748lqs; Thu, 13 Jun 2024 09:54:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX4nAjDvyrXLVuejHT9fScrGU4KIaKcFsayfzMy6bu7rJTcXQp15YxqUa88HFDPXnxadtZ/DDodouIU6yxnNE3eKje2wATaIVc4vRGuBg== X-Google-Smtp-Source: AGHT+IEjF9WDGfGtPr8oFV5U8ADUKGB2/Sno1m1Ds0C7yTZ2cNUg+S/x24p8vyUioqSfFLCMla6d X-Received: by 2002:a05:620a:45a5:b0:795:4dc6:df74 with SMTP id af79cd13be357-798d241383dmr11248485a.22.1718297686988; Thu, 13 Jun 2024 09:54:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718297686; cv=pass; d=google.com; s=arc-20160816; b=T066PYsiLoRE1CaK7nKCzvSA5CALZA81PMDhkxCf602FtNX/KzkHYHniOaLO8U0hMU 8FBxtK4dFgf98KeyDwPjZQDVFqk/ZAfXktJef0rpqn1/iPbxozNM7RyuUE4IOu7tqphK hQZ/hc8mTJ1qT+M311PoGtrpw/pv5LhwDeYc+IS6p3jKWe5HiqqPnJiMR3cCEjw0nQpF awglY4WcApGRqnKtvEBx6UFZ6AZDUrknF3I7ycRPuVgUGiE11Ybdh0PAyLz3qRtuoPS+ SQZi8c+/Q1m/lWwh1yAjEk0L040Lh9kC18cZpvNJzg7fwg9eWM9QEjwRIu/He3rX9H4f iUug== 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=MSxfkGsVS/i8fFoGNgCEZZML5ZKP7WhT0QV8yKmwtbc=; fh=v4jXPK9VatShutsAAmUKHCU0aqOg+FYM0Wg4UzjbuR0=; b=B3aOhwqZ1YsCDC0KADgbntkzLlAzBbUhDMXuFcboMbIuj8mRK463Dhkzjee1sjfTup w90PxrHStRYgbLQdhrpJ6bL/UMbwFALc2EM3JFyzB0zcFR0rqZaAe4KMTb7gWIggO7zb hRmhAdc4h+mgTPCIL34LZvNcxlNCycY96nxpI5pinNttBKoDbPg54uXLA8bSFBt8k9Pp AdePXgBOr3+euI/a65QiQEqP6iYpFomuExQzjM+QPue9KffUlquMWg6cCwcQx1Pky30e vQwlhohTR8dCkyMkVMtLZHv7kePJ/d29gjRyMHUY76YEkBQGOxgoFa4Kqhgo/0b5jNbJ tJqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CZn8K0bP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441ef3bb049si19464711cf.135.2024.06.13.09.54.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 09:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CZn8K0bP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213693-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9E6B11C212BE for ; Thu, 13 Jun 2024 16:54:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 224C7149DF0; Thu, 13 Jun 2024 16:54:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CZn8K0bP" 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 4495512F386; Thu, 13 Jun 2024 16:54:33 +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=1718297674; cv=none; b=Xqw3U9S9iJwFbNS4g6QKhxfVWJMLu6H653o0+kQEXLX2kLurxQpuY4lXg/z2xgBfw46xpxIJk+pbMXC20OYHp/AqV4MyF6C7jBf5u+p64zcmugnncEGn4DJUpCAJ5cZaeIzIg56aDrHzlhApbfY0TR8UJ5xCl4kEf1UZtxc2H5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718297674; c=relaxed/simple; bh=cOpWMtjOpM5JcUJn8Jsy0W8BZXiFPPhfC6HaQXCrUYg=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=TrALSs/EJcTTGHNdnH1lfg9OGOLajvlWF2FRj5wh3gmI+CrSaOI58a379SAi2rggrm3lmDE9A2XqRjmMHzqazn9iuczegy7q29UP5IGZ1seI899oFsQaYBK14HsmBQTlhljv5V5Nr0ochiRBYbpcgDXPBd9RWaIOtCmTqhqVJR0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CZn8K0bP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 730F6C2BBFC; Thu, 13 Jun 2024 16:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718297673; bh=cOpWMtjOpM5JcUJn8Jsy0W8BZXiFPPhfC6HaQXCrUYg=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=CZn8K0bPASERaMkg6FivPqE7oz1NO1AI05YeBwF12OplA91xivbCrjr1cMPGhUvtx R2G9W7gYRXRMqpitU2MMRy4i6s2Yael1uvYKMA1+Sj1KP6nlSIPcHZuyHPOd/gN/Vw b7G6cYITwP+1BuoNFnbA0vizonkzpK579t9QUsTsR/mafPUPGmMxnHsZRs1Cnglj8s MiGtJnIMEIbimz4Q0gewcIVdI2NXa/CO9EIik1xtq+j9rS4DOsVXAc/5HZFcdDRRfC jTqRlHslnPA+MZ4SCD0X67nhkiwJXWUPM6QpUOWqcE3uoli2/4ahCHqTCxnHspHMsJ tAmmebEJ4p33g== From: Lee Jones To: pavel@ucw.cz, robh@kernel.org, andersson@kernel.org, Anjelique Melendez Cc: u.kleine-koenig@pengutronix.de, marijn.suijten@somainline.org, kees@kernel.org, morf3089@gmail.com, quic_gurus@quicinc.com, quic_subbaram@quicinc.com, linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240607005250.4047135-1-quic_amelende@quicinc.com> References: <20240607005250.4047135-1-quic_amelende@quicinc.com> Subject: Re: (subset) [PATCH 1/2] leds: rgb: leds-qcom-lpg: Add PPG check for setting/clearing PBS triggers Message-Id: <171829767121.2715617.1437824058058864879.b4-ty@kernel.org> Date: Thu, 13 Jun 2024 17:54:31 +0100 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.13.0 On Thu, 06 Jun 2024 17:52:50 -0700, Anjelique Melendez wrote: > Currently, all LED LPG devices will call lpg_{set,clear}_pbs_trigger() > when setting brightness regardless of if they support PPG and have PBS > triggers. Check if device supports PPG before setting/clearing PBS > triggers. > > Applied, thanks! [1/2] leds: rgb: leds-qcom-lpg: Add PPG check for setting/clearing PBS triggers commit: bdd39a590cec198d4208ef4dd375971dbd079b5e -- Lee Jones [李琼斯]