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 9799CE8FDD9 for ; Wed, 4 Oct 2023 07:33:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241556AbjJDHdL (ORCPT ); Wed, 4 Oct 2023 03:33:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241535AbjJDHdG (ORCPT ); Wed, 4 Oct 2023 03:33:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1663C98; Wed, 4 Oct 2023 00:33:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B4E4C433C8; Wed, 4 Oct 2023 07:33:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696404781; bh=Q5Yvrxk9uP3w/sec70NuRnAW8kUBSmlRnZ+J/yHoJLk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dNE+PJI5CYiE/MZbcfodrX7lU2FEsLx6aiKFdFMJemCoOos8rIn6EzEYFa0+Q2JMR srgMsQckngMh01CLwvaI8LyaZoUmD/+XY9gyq/H9b3D+zCZ055CC/ZebiJOKylcq6d VIrKpAeN3akIFJethC/sxpwi09LzgLJlIQUBlOHjgZnOuqEGdt/9M9YOrdUuFJs8/Y QfN2HtxrzzQ6Gl/8S7Z8yZZ68ZLom2auGJas79szmhRw5FAZkaI/Bs59GmhfaPQ+oB 0bKt7HQbod4ZPf1iQVgWJZl2av25NTDtKus+k4SOCompBykDl/S0jggC87tV/wwubz ugO7ObYqEyNQA== Date: Wed, 4 Oct 2023 13:02:57 +0530 From: Vinod Koul To: Frank Li Cc: "open list:FREESCALE eDMA DRIVER" , "open list:FREESCALE eDMA DRIVER" , open list Subject: Re: [PATCH 1/1] dmaengine: fsl-edma: fix all channels requested when call fsl_edma3_xlate() Message-ID: References: <20230914222204.2336508-1-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28-09-23, 10:18, Frank Li wrote: > On Thu, Sep 14, 2023 at 06:22:04PM -0400, Frank Li wrote: > > dma_get_slave_channel() increases client_count for all channels. It should > > only be called when a matched channel is found in fsl_edma3_xlate(). > > > > Move dma_get_slave_channel() after checking for a matched channel. > > @Vinod > ping Can you please resend -- ~Vinod