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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 D406EC433DF for ; Tue, 23 Jun 2020 00:40:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A01E9206C0 for ; Tue, 23 Jun 2020 00:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592872827; bh=K1YMrX+vFfOdCRR7EhhoabWM5Dvqvkn449fKcgbMQZo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=AdXkZjYh4TDeqANUqlZWISn9BQguGn8pgGxKEmyPapTFLxWqtT408hBYMsMQAGZTZ P98hq1Zl2bFOsaZfqRT2fhIQDSyEXFbjoK5OnuUZvnQzUISB3lHgekUVk3DrH6g41D yTRCo8KYnUfzGylu/QXSK+a8xynpUz8rxv3YPPDo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731931AbgFWAkP (ORCPT ); Mon, 22 Jun 2020 20:40:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:36552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731719AbgFWAkP (ORCPT ); Mon, 22 Jun 2020 20:40:15 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AF902075A; Tue, 23 Jun 2020 00:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592872784; bh=K1YMrX+vFfOdCRR7EhhoabWM5Dvqvkn449fKcgbMQZo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ViK+UgQbFHkT/AA4sSel49q0GsRAr+Vc+fobflLROOKOmT0AlQg7PG0aobTd9iq39 zhIyuaobzB6c2L86xHfAsZGV/Px+IS+nI7led+ktI2N2EFPk35/yofImtdOJIuzQ3f GjTqSKBQ2WHnpSHpsJt/bJl6sGrm+EAcgTNdCUR8= Date: Mon, 22 Jun 2020 20:39:43 -0400 From: Sasha Levin To: gregkh@linuxfoundation.org Cc: paul@crapouillou.net, stable@vger.kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de Subject: Re: FAILED: patch "[PATCH] pwm: jz4740: Enhance precision in calculation of duty cycle" failed to apply to 5.4-stable tree Message-ID: <20200623003943.GQ1931@sasha-vm> References: <1592574307840@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1592574307840@kroah.com> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, Jun 19, 2020 at 03:45:07PM +0200, gregkh@linuxfoundation.org wrote: > >The patch below does not apply to the 5.4-stable tree. >If someone wants it applied there, or to any other stable or longterm >tree, then please email the backport, including the original git commit >id to . > >thanks, > >greg k-h > >------------------ original commit in Linus's tree ------------------ > >From 9017dc4fbd59c09463019ce494cfe36d654495a8 Mon Sep 17 00:00:00 2001 >From: Paul Cercueil >Date: Wed, 27 May 2020 13:52:23 +0200 >Subject: [PATCH] pwm: jz4740: Enhance precision in calculation of duty cycle >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Calculating the hardware value for the duty from the hardware value of >the period resulted in a precision loss versus calculating it from the >clock rate directly. > >(Also remove a cast that doesn't really need to be here) > >Fixes: f6b8a5700057 ("pwm: Add Ingenic JZ4740 support") >Cc: >Suggested-by: Uwe Kleine-König >Reviewed-by: Uwe Kleine-König >Signed-off-by: Paul Cercueil >Signed-off-by: Thierry Reding I suspect that the fixes tag should have been pointing to ce1f9cece057 ("pwm: jz4740: Use clocks from TCU driver") instead. -- Thanks, Sasha