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 X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F063C433E0 for ; Wed, 27 Jan 2021 13:23:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48A5220724 for ; Wed, 27 Jan 2021 13:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238343AbhA0NWx (ORCPT ); Wed, 27 Jan 2021 08:22:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:57770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238192AbhA0NU0 (ORCPT ); Wed, 27 Jan 2021 08:20:26 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 48E21207A0; Wed, 27 Jan 2021 13:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611753586; bh=mEyKKZtnfCDXUWi0Gv46XvzrorI7dMgLG2jQd8FWI2c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PiNXrRucy97pvBflEbGHiJp8mDwqXs7L5XDWkgFZ8ZZhWiWDHRk/CBE+bTKSsryJ1 PZjNSHUfRQUrONcFGyiUSh29g5T/BpQu1ob61yUjrPB+cii/K5R89iIs8WvMq3T6Wr H2RMj5+U0dncXxjCBJjXQcIjUcz5215AvMODXk6w= Date: Wed, 27 Jan 2021 14:19:42 +0100 From: Greg Kroah-Hartman To: Baruch Siach Cc: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , stable@vger.kernel.org, Russell King , Bartosz Golaszewski Subject: Re: [PATCH 5.10-stable] gpio: mvebu: fix pwm .get_state period calculation Message-ID: References: <20210126180650.xsrycbnwzu4lzl55@pengutronix.de> <87im7iy1e8.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87im7iy1e8.fsf@tarshish> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Jan 27, 2021 at 03:06:55PM +0200, Baruch Siach wrote: > Hi Uwe, > > Thanks for your review. > > On Tue, Jan 26 2021, Uwe Kleine-König wrote: > > On Tue, Jan 26, 2021 at 11:00:11AM +0200, Baruch Siach wrote: > >> commit e73b0101ae5124bf7cd3fb5d250302ad2f16a416 upstream. > >> > >> The period is the sum of on and off values. That is, calculate period as > >> > >> ($on + $off) / clkrate > >> > >> instead of > >> > >> $off / clkrate - $on / clkrate > >> > >> that makes no sense. > >> > >> Reported-by: Russell King > >> Reviewed-by: Uwe Kleine-König > >> Fixes: 757642f9a584e ("gpio: mvebu: Add limited PWM support") > >> Signed-off-by: Baruch Siach > >> Signed-off-by: Bartosz Golaszewski > > > > Doesn't this need something like: > > > > [baruch: Backported to 5.10] > > > > plus a new S-o-B? > > I could not find this requirement in the stable-kernel-rules.rst (Option > 3) text. > > Greg, should I resend the patch with another SoB? Please do! thanks, greg k-h