From patchwork Mon Nov 22 22:21:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519302 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp7681076imj; Mon, 22 Nov 2021 14:23:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyNYmU/m81U5Fr0SQ6h/1CHAWCesvYWR9FHrRIwCV/i3s4oNLG57qJg/htrM/1SdaMvzrK X-Received: by 2002:a05:6a00:230e:b0:44c:4f2d:9b00 with SMTP id h14-20020a056a00230e00b0044c4f2d9b00mr139713pfh.24.1637619800668; Mon, 22 Nov 2021 14:23:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637619800; cv=none; d=google.com; s=arc-20160816; b=wsY6BG1c6s+DEUUzVCthto5Nyy7iknNJSfXSPZKkDmy27ycb4jjP4mjnPCgu/Hqy42 7yhK4TuBAq26DzhPEEVcCfp7o1cKgsZK8RVPnJff3iIP0Kqg3WY5843ioOFlStuzSnjD I++TZPb4XbZhMniMio1EEV/iWfL8XBUDQW9cTXwwKvTW81IohWuZerH9mGFVfjToaDga HIADLYFOgATWgCRNSMSy1+2OVNtSoCyWVGHUxS0FaPuDYOPbcPIDNZcZkTiQugXWxHhS L+2RoKwqbthEGo0eLS/+NErGqJ2x83/2OGEoyG3Vfp0DnBk9u41C4ueBqH9Zl0TIJWCk +8bA== 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=d54zePU2QfQFzLUCEQ4tSYMHD229S9+zU3hhKQB9y3Y=; b=GZkbhs9+3rmT6rkiC9v0k8zq2mXNV8kprWKKWvNiUF4hnK5PZcaXWbWyDmNKirg5Px qYop9ZTB0eiQo46SkHMvwthiM1MgwhQzH1mhruiAU/xPKB4377CP7zq/TpJCgaAWKdTU 6ezF4LskkCKJsXlwfnVXCA2HTMgXvz2n/U33oFHuYzpryHXebbyXG3pGMSQFM/jG3VmE Csfuz8DkFQ9pLi9MCqvhSaM7zFET6kzicD/BzP2UOEZJ6LyB0KFawy5dOq2hcgSEX96O UQaTvmjEikkf+iI/S4dRz94SqWqFB3/GMcCddRKxTGZ5NhnEG8gyX6lIRrsM02ayWoOG XFRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=rpP6eKOr; 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 i6si5552329pfd.31.2021.11.22.14.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 14:23:20 -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=rpP6eKOr; 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 3ED4889D9B; Mon, 22 Nov 2021 22:23:19 +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 51AEF89E5A for ; Mon, 22 Nov 2021 22:23:18 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 1651060FE6; Mon, 22 Nov 2021 22:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637619798; bh=McpWp/4AcEZeBd39ynQN6eTYVALGVNvs8cD8tBGVm+Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rpP6eKOrl9dj0+CGG0X5A92xrHnDtIWKLHyPyGZsCeDj6+Y3LlX4ce9t+tYu5Utwc GAD/Dm5Ge6oMPjFnQSe7UC4zsOfp19LJfRk9htLP7pl58RZUdw4odqBlhALUfyEkPP qLyhySmSJtoWdnOXs2KUJIGAxo1Y++knYawaZrSKgfizR+WGB/R0Co73Hc2RCgB+E0 SnKiJkIj+uf0eSIppmJ/1Qu+fX8RKmW186XR2XxbrB1rlTFDwIKlQBRQYQBOkHt4mL PvQ4jmOgipvUVh2E0J+xZnDuaSHyDWJVEg2FeTDb2h+g2D3rOu3i4dwNJrZUZKWxqT E58/3dIDp/niw== From: Arnd Bergmann To: Vinod Koul Subject: [PATCH v2 07/11] dmaengine: sprd: stop referencing config->slave_id Date: Mon, 22 Nov 2021 23:21:59 +0100 Message-Id: <20211122222203.4103644-8-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211122222203.4103644-1-arnd@kernel.org> References: <20211122222203.4103644-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. Reviewed-by: Baolin Wang 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; /*