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 79A85C61DA4 for ; Mon, 13 Mar 2023 17:17:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231585AbjCMRRl (ORCPT ); Mon, 13 Mar 2023 13:17:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231538AbjCMRRZ (ORCPT ); Mon, 13 Mar 2023 13:17:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 831BA56152; Mon, 13 Mar 2023 10:16:56 -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 ams.source.kernel.org (Postfix) with ESMTPS id F262AB811AE; Mon, 13 Mar 2023 17:15:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B12F9C43444; Mon, 13 Mar 2023 17:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678727738; bh=JRKBUa5JXVxlNgvhy7KVhNfMBjTnbpEYzC/sl0OoIDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bGryyCWuMURvsTurldq07AiHtbwoa8rCEUpMjBxrDURk+DOUZ/gOXyOokbyWbGKR/ /8bxGUpay+83Cwlnnf5qr/jAoep+mOzrW0WPiO+OImza88MKXpdPTjdzF8xJW2Gx8T eRVxrHiVAnugk/lJBZW2k2kiww3uuNKS3K2FqV9z2bhPUCAqYjcIBgx5djchzLFS1L Zpr1mmmtMNbMXBRq1lamM0/CpNOoi5u5J+C2+ZlYVMcs+RuvFB0O3TffZM1esPIp11 ixDQoCqg5Fud2z76z7BCEnA5EifZxYyN60wXwvGzK3QkUGWckYwF0kwU04iwJ2CEx9 ojtUUSYcfo+0w== From: Jisheng Zhang To: Eugeniy Paltsev , Vinod Koul Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/11] dmaengine: dw-axi-dmac: remove redudant axi_dma_disable() calling Date: Tue, 14 Mar 2023 01:04:43 +0800 Message-Id: <20230313170450.897-5-jszhang@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313170450.897-1-jszhang@kernel.org> References: <20230313170450.897-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org axi_dma_suspend() will soon call axi_dma_disable(), remove the redudant axi_dma_disable() callin. Signed-off-by: Jisheng Zhang --- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c index 891776528619..410222e7224c 100644 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c @@ -1535,7 +1535,6 @@ static int dw_remove(struct platform_device *pdev) axi_chan_disable(&chip->dw->chan[i]); axi_chan_irq_disable(&chip->dw->chan[i], DWAXIDMAC_IRQ_ALL); } - axi_dma_disable(chip); pm_runtime_disable(chip->dev); axi_dma_suspend(chip); -- 2.39.2