Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1295429lqm; Thu, 2 May 2024 10:15:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSIa16BEM+qLMAOOaJENNQJKJYLQu5w8l+vEWZrFPdEOfAlPEw0KRDZD0pU5BBfERealvDpi0FDfztamN/TQboyHfQvgBdqvkqTqYLaw== X-Google-Smtp-Source: AGHT+IErI3MINgRJP/SRhdyHmHTu7CTg9MS4SigMOotvZQFJsSAod8eAKkR3kQANX5VWs9GmYePX X-Received: by 2002:a05:6a21:6d91:b0:1af:593a:c820 with SMTP id wl17-20020a056a216d9100b001af593ac820mr4746508pzb.31.1714670153466; Thu, 02 May 2024 10:15:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714670153; cv=pass; d=google.com; s=arc-20160816; b=wrYR+GZ3ihMyEf7AeucdYLa4cywZqEYLJKWpdcH5xwBZ9i1lMa3EZwK7ZW1OKKM/GN adDS4p2EuNfqt5hwI2XlyAI94q/K8uTv2+skSBQ4YzWkHgS/2xo00FQq8QgWXZwcnkyX OMMiJUc8rC1kX4Xlms/TRBlBwq6S305NE1ZOANj8J+yvnxZYKB7Vhf/5SmfF2QE1qebh UqYWR/UU0MgU7NuZvLDkvixWkwkOz4yB4ae1yH4X0EuDjFfS9YZ8XwmO+Vof7wqAii/P m1ED/9qDEWtzdUg/por3GCfUEsHSH4z7wbsEOTNYqE3sSMuoHdDJnZnNuB5WGw3f08u2 6mAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=V1+8y4NTJ11+hNu1QYUs1WGXQI0v3IIbpGpKSl4e/6o=; fh=QH/eBsL4RFVQhzCC8NoPWzMCn9YE+IzVfGFFhRJ84cU=; b=l3Ij73v7Zz4c15ZYxdJMaoznx/mHavFfLLkH+/gZ8IzE/oSH14JDQ6lYC42Ssu+iYu cSCitngr2a9KKJi+pTA1mB3RbwBUrCQh4OcFaEN6DgnJ7QdTFloFSqzXTeD2BH5gRBJS bjL7vfzxHN80v7vZuMZqOWl8An/YSnQ3komXlLh5mM5JnGeJxmnR/ZDftPCAJPb4Uanb tTIXfo0F9+fOMHw7T/OncE5z+PQzpJ3zhUOVs9+vjP+02Qh+hGj5ap8vqSPv354BRqcC bTWbiAfHKM0J3p466luhA329Fw42NVy8i2+VMjTv3HziIbDcXowQPUv6pL18jb/VjF0U YQGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jbW6EJTs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k6-20020a636f06000000b005f3cebee887si1393208pgc.483.2024.05.02.10.15.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 10:15:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jbW6EJTs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166764-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0069EB24ABB for ; Thu, 2 May 2024 17:05:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AE9A16FF3F; Thu, 2 May 2024 17:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jbW6EJTs" 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 33C9816FF27; Thu, 2 May 2024 17:04:45 +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=1714669486; cv=none; b=rRYzvnU2HFq4aMYVF2GoFN6n8TaZTsU4EYDR0NzEuzIMiJJ3+/FfUSaI0ir7c5lA1TY3CxnAaUWFDH+CgSQ9k7pDREqKlEWE0M16nSvWKL7ZOkGAPnPNRSCsZOO+HMcDP7dAsuWhLwpFJKJ8LKP4KmYGeWod7ele+2dV5wwGaIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714669486; c=relaxed/simple; bh=49eyjM/VLdE7NVxycz/BBQaGVKwViQu2psRAqw1p1YA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FCqNH/EipBST/S2WAKt7i33PWCTOf5x/PSDvLbJIk0wPOAP0Jg/7hBTM21ebi03rBX7PQ5bejizbx554uswApXWT9icsqeCw5xVxbuKtcIyHtVG3WpJ/+pS27V0TuS+cjuxINXxeD2YdH0b7xOreUbi/4ADMSz2ziIifgVs99xg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jbW6EJTs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A07CC113CC; Thu, 2 May 2024 17:04:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714669485; bh=49eyjM/VLdE7NVxycz/BBQaGVKwViQu2psRAqw1p1YA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jbW6EJTsLqbwr7myvvL4/KS3XciomH0hvu1aInVGZ2FnkRV3bKQKKDwkDWAwlSIr4 Yd7rS/dN5bhwWHiCweWn67TlpHoIPO/Wgq2It3J4sJHH6LzFwjFRS8LNajO8brJkZG HeerqdsycyGFxMvbnIszQhMY3iBmQcIoqUVyGovct77CScgfmXJ/xfjGxODqu8v3UV ghuxQ/3cxEa06ZWWpqXh+iGnhvoaqQRpv3HR69WF0ldoIK5m+lXi6eQ6uczynZje1Y atzlGnKh8PEey4wihiw3FPMz31tZn42xPqNQMI6xThBOmWFVKRcVh6HfkQ1wSyzB5E TmRDrqVTxJtCw== Date: Thu, 2 May 2024 18:04:41 +0100 From: Lee Jones To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Linux regressions mailing list , linux-leds@vger.kernel.org, linux-pwm@vger.kernel.org, LKML , kernel@pengutronix.de Subject: Re: (subset) [PATCH] leds: pwm: Disable PWM when going to suspend Message-ID: <20240502170441.GD1200070@google.com> References: <20240417144943.GA2399047@google.com> <20240417153846.271751-2-u.kleine-koenig@pengutronix.de> <171466932928.1214296.17132644352212078458.b4-ty@kernel.org> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <171466932928.1214296.17132644352212078458.b4-ty@kernel.org> On Thu, 02 May 2024, Lee Jones wrote: > On Wed, 17 Apr 2024 17:38:47 +0200, Uwe Kleine-König wrote: > > On stm32mp1xx based machines (and others) a PWM consumer has to disable > > the PWM because an enabled PWM refuses to suspend. So check the > > LED_SUSPENDED flag and depending on that set the .enabled property. > > > > > > Applied, thanks! > > [1/1] leds: pwm: Disable PWM when going to suspend > commit: 974afccd37947a6951a052ef8118c961e57eaf7b If this is important, you may wish to retroactively send it to Stable once it's been merged into Mainline. -- Lee Jones [李琼斯]