From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D252C7618E for ; Sat, 22 Apr 2023 15:05:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbjDVPFO (ORCPT ); Sat, 22 Apr 2023 11:05:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjDVPFO (ORCPT ); Sat, 22 Apr 2023 11:05:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 823D71BC2 for ; Sat, 22 Apr 2023 08:05:13 -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 1E40060F21 for ; Sat, 22 Apr 2023 15:05:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B781AC433D2; Sat, 22 Apr 2023 15:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1682175912; bh=BeZWKYSkt4SNVVDk2ptTpOM40WXmKmAHxoXJN5J50xI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jmoudyiWOvBgSTxsgwV9/zAyB6ulsKA0X6WKt29r0pZVlGxmdSSmc+bl9pskqphTz JxADDFYVFccUzfxBJ3OkLJhO8YAk6iUbWQrBPwKK+rEtyPBr6w5zgOUkOORrvJYRv0 AbdClQseaXRhJMifyln+sGsPjdv4AROHAlkQ1qvc= Date: Sat, 22 Apr 2023 17:05:08 +0200 From: Greg Kroah-Hartman To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: stable@vger.kernel.org, patches@lists.linux.dev, Guenter Roeck , Thierry Reding , Sasha Levin Subject: Re: [PATCH 5.10 003/124] pwm: cros-ec: Explicitly set .polarity in .get_state() Message-ID: <2023042239-sloping-sprite-7c24@gregkh> References: <20230418120309.539243408@linuxfoundation.org> <20230418120309.688458749@linuxfoundation.org> <20230418130121.rx2zfwkzjyasghkg@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230418130121.rx2zfwkzjyasghkg@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Apr 18, 2023 at 03:01:21PM +0200, Uwe Kleine-König wrote: > On Tue, Apr 18, 2023 at 02:20:22PM +0200, Greg Kroah-Hartman wrote: > > From: Uwe Kleine-König > > > > [ Upstream commit 30006b77c7e130e01d1ab2148cc8abf73dfcc4bf ] > > > > The driver only supports normal polarity. Complete the implementation of > > .get_state() by setting .polarity accordingly. > > > > Reviewed-by: Guenter Roeck > > Fixes: 1f0d3bb02785 ("pwm: Add ChromeOS EC PWM driver") > > Link: https://lore.kernel.org/r/20230228135508.1798428-3-u.kleine-koenig@pengutronix.de > > Signed-off-by: Uwe Kleine-König > > Signed-off-by: Thierry Reding > > Signed-off-by: Sasha Levin > > I see you picked this one and the similar sprd patch, but not > > 8caa81eb950c pwm: meson: Explicitly set .polarity in .get_state() > b20b097128d9 pwm: iqs620a: Explicitly set .polarity in .get_state() > 6f5793798014 pwm: hibvt: Explicitly set .polarity in .get_state() > > (At least I didn't get a mail about these). These should qualify in the same way. They didn't all apply very well (one did). > Maybe you also want to pick > > 1271a7b98e79 pwm: Zero-initialize the pwm_state passed to driver's .get_state() I've queued that up to 6.2 only, the other trees it didn't apply to, want to send a backport? thanks, greg k-h