From patchwork Mon Nov 15 08:53:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519141 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp5345415imj; Mon, 15 Nov 2021 00:55:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5jKbQ2IBuTOefu82nugOG3raiFxdKFCNv7ngGFvjwGXHX6chNilvInmN67AfUZqyLmGs3 X-Received: by 2002:a17:90b:4d8c:: with SMTP id oj12mr44406459pjb.100.1636966528490; Mon, 15 Nov 2021 00:55:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636966528; cv=none; d=google.com; s=arc-20160816; b=yc/6wn7R8nKF5VWjrv+y49dEjXSqj+9TbUivh9dfekG9pULJ5vt3pOKWPIgW/PPHn1 e/tuu1GiVOTuHkFUCDEePziQ22mf7+UcM+IKMHvw3mvog0CfT/X8jKOzdB4kyt5EBXFL MT0tQjc6e/zUiFsD9YmY6nxRte9p2babBZG/rn9mZIqtLai0SKaAt4/1lWwIP1i6J5N1 hC9zl34kZpyWGtms0yAK2+u/MSmaVy3SITUeSwXTgVg7KiGQezCKLHfotdMMr8ZAVpzI 0HWmMUWMO/nvMjle0FmxkQRfikX93E9kOl4GVZqzaZf9foSKw0QKCq55Uf2P5t3tr3Xw VaTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=Rz4CLAnwhynJRfG6FsiQWtWf5jwUmw/2wwhmExd0/fg=; b=luqqo5wp8pXpBLniNQf2ZK6pSDc9p+uAp9dEpb1coa4mfcz9Er9nEWdVgRbZPOKgVj KpEKnShwPDT7zEBvOaz1BLEUa5VO+VUHoGi/NQ30rNs5SyHnPoaJuZ03fa7QA1wAxbjO 1BuMaLipbHyl9KCss6ehkXjg2Vhr+SkbrlAoNF+AwLPoho9y+kLgddYp6Pl+3s/tnPnP 0k604YUEg0JPUzOYgF+wowRBMwcUgxC8hYLJJdZTHEHHIgnZrOR2MFoDW72CsDGTaDlh PQ70OmajfhOnhd8nNBsJrLiutrFSj+iE8qSE0lcL6WT1jatEIaDG3ZiVDJ+7BNNXgvrN UO9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=BVo2LZMT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id x24si26305428pgl.568.2021.11.15.00.55.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 00:55:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=BVo2LZMT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D57386EB8A; Mon, 15 Nov 2021 08:55:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1CBD6EB8D for ; Mon, 15 Nov 2021 08:55:25 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 9EF0B6322A; Mon, 15 Nov 2021 08:55:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636966525; bh=5QR5v6614zTOntPsUILdpgvMgyj2h7YC8v32L7VdrY8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BVo2LZMTKnvi18fTU1oVyCcq5hSRkXwUKaqwxPxFj8ksBb3j3ZAMGnnyUBzxyju35 JD89ztkndvHbilbR165m9u29eYAyiAZP/352auOvSmoASz8QbySIAkx8sx6HqA3Fi+ NajC4qp9b42h6JI1IOXBv9o4BCffOY7AZgYVuLKQ7HNB7CtLqpCFYPXpzybPothEc7 iVAogxjPLeJtqekWAMFQpZU9AzNb/YLn/6ECUKqDOQJhupZ04BtGq9L1VopOyBhPBv zquvlt2qbQvpw7jHxz0Ax3OX5az2YhpYpHthYZCr7jXdKg9XrvsUnmDM+vt780Vm2H YQtg0r4AXxFjg== From: Arnd Bergmann To: Vinod Koul Subject: [PATCH 06/11] dmaengine: sprd: stop referencing config->slave_id Date: Mon, 15 Nov 2021 09:53:58 +0100 Message-Id: <20211115085403.360194-7-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211115085403.360194-1-arnd@kernel.org> References: <20211115085403.360194-1-arnd@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, Bjorn Andersson , linux-tegra@vger.kernel.org, Thierry Reding , linux-mtd@lists.infradead.org, Laurent Pinchart , linux-spi@vger.kernel.org, Robert Jarzmik , Chunyan Zhang , linux-staging@lists.linux.dev, Michal Simek , Jon Hunter , Andy Gross , bcm-kernel-feedback-list@broadcom.com, linux-serial@vger.kernel.org, Orson Zhai , Nicolas Saenz Julienne , Arnd Bergmann , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, Mark Brown , linux-rpi-kernel@lists.infradead.org, Jaroslav Kysela , Andy Shevchenko , linux-arm-kernel@lists.infradead.org, Scott Branden , Hyun Kwon , Greg Kroah-Hartman , linux-mmc@vger.kernel.org, Takashi Iwai , linux-kernel@vger.kernel.org, Laxman Dewangan , Baolin Wang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann It appears that the code that reads the slave_id from the channel config was copied incorrectly from other drivers. Nothing ever sets this field on platforms that use this driver, so remove the reference. Signed-off-by: Arnd Bergmann --- drivers/dma/sprd-dma.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c index 4357d2395e6b..7f158ef5672d 100644 --- a/drivers/dma/sprd-dma.c +++ b/drivers/dma/sprd-dma.c @@ -795,9 +795,6 @@ static int sprd_dma_fill_desc(struct dma_chan *chan, return dst_datawidth; } - if (slave_cfg->slave_id) - schan->dev_id = slave_cfg->slave_id; - hw->cfg = SPRD_DMA_DONOT_WAIT_BDONE << SPRD_DMA_WAIT_BDONE_OFFSET; /*