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 76F60C636CD for ; Fri, 10 Feb 2023 06:11:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230353AbjBJGLR (ORCPT ); Fri, 10 Feb 2023 01:11:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjBJGLQ (ORCPT ); Fri, 10 Feb 2023 01:11:16 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7539D38662; Thu, 9 Feb 2023 22:11:15 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 1695FB82363; Fri, 10 Feb 2023 06:11:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47D52C433EF; Fri, 10 Feb 2023 06:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676009472; bh=QLiE6gkj5Z8phLbz5FIHU7mPTkTK6mawflmKsqJKZeY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s+XZ77nGRcGoMZY8tAtd+3ODdeKJDv3adVfHMrvbMVfHT9Bu+XDXsjmL++bO/KpFT 26CCYfLsw/ijEJNassKtUO7EI1EbYOgQ3LbZvtFKGzMJIEJb2wYJJLcxVyHuL7Hjdw 9PmTkXKJJEdZI6kXgp4kLzQffJkSee7jUlCZ9NaxCE/hoKFJ6AwrZEh55bAdk0ctit wQou+fn6kzIu7V12eOTngfLoxuiccSCcivKfV817T3SF5C2uUT46qOTPpXVWZEar6w k82ECOi92VXjZOpzKASIAFRxG1xahW7FVxlhDx0yHpwVvT2FXG7u9OjBivsuH0S0GX Y3Hb2boWlJP7A== Date: Fri, 10 Feb 2023 11:41:08 +0530 From: Vinod Koul To: Andy Shevchenko Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Viresh Kumar Subject: Re: [PATCH v1 1/1] dmaengine: dw: Move check for paused channel to dwc_get_residue() Message-ID: References: <20230130151747.20704-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230130151747.20704-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 30-01-23, 17:17, Andy Shevchenko wrote: > Move check for paused channel to dwc_get_residue() and rename the latter > to dwc_get_residue_and_status(). > > This improves data integrity as residue and DMA channel status are set > in the same function under the same conditions. Applied, thanks -- ~Vinod