From patchwork Mon Nov 15 08:53:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519139 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp5345247imj; Mon, 15 Nov 2021 00:55:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJziVy8oVjfDnFjlEL01rCxAWDOyq4cnkJLPskw4T5kK1Ap5VaHYEbWjQ1E1yy0Z3nfiEn4K X-Received: by 2002:a17:90a:4d0c:: with SMTP id c12mr63544123pjg.151.1636966516257; Mon, 15 Nov 2021 00:55:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636966516; cv=none; d=google.com; s=arc-20160816; b=urz/YCdvBlo2vPCS2szWRUj8DEJ05ioAGp483FCv+RjIzCmqaLeRVTs/MHzNfd+W8a 8/RjJbXLrSBuAXWnMfnnk8RjG+WD/c/91ZrevxYtyTZF9iPT2ncjx8hmn1zSDliCZt+D 64WUPcUgXQfYxiXd1mVgIxJ7+t6OMBslzacJx0RmbFApaoZyIGIyBKUCZmpCW+JoubFG 1r9qKxVxt9rm2HfjMgAOpoS/sT5pyjjhH71PViNUHGMALl+keZq2H4MqkykQ1g7CTM9e NnWT2PTQEDp4HweKdUF1d5SLa6I6lDvfjprjFIN/upr2k5bmZ8A5ee4CkVeLahn2vlqn qR3Q== 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=NHFrJZBbWAtqaoeG8PBVDw7TCzMIDCkdMv82Y9MXmao=; b=gAnX7fpBsshnhOTPTaFROYUcoVv8JYwZNR8+6alrKxP7ku02A8MkHpK5xSrQfXa+Ht UJ9MyRDhZH4y8AxuWALUwEbxYmUyWFFsVD7ZFVv2hJybbYVjZt5jO7PbfnbnWLL37D3d 6msHlFQaIRKfArQQiKqU5AcIIiD5ZMVq9e6Yq6UW27Cmg0mv5Xh5tsz2NDS1H4OH9Ut3 ZFr/e8H641uSR8eFS1qjr4OLWpsjFZ9t09JgEXwxGhFkhCiOWOaPwQa71tjsh6WotlgY JpYKq+Hlnuc+1w9EH2ExYjP9eYZ0GVsiKz7olmHKdQ6AmXuQ/KKzLwrq9brhonkRz0+7 Ur9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=lAj0mIyH; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id j14si25649901pfj.381.2021.11.15.00.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 00:55:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=lAj0mIyH; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 95B4C6E975; Mon, 15 Nov 2021 08:55:14 +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 DE27A6E975 for ; Mon, 15 Nov 2021 08:55:12 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id A02B96322E; Mon, 15 Nov 2021 08:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636966512; bh=0aNffjFyOwM4u0Oo7aAQAYOuioDBDQQgvS3dt9nDAoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lAj0mIyHUENlkP6yrlZxkqYSD5hocgglcT83E2dvJW5vsfypS+bCmhcsFYUNOkxLb VGm36iEtIrx5MsVBXb22F/vG+l2XPNfSwWhLmNnpXY2YEg1WtV9h7uDQ4GwxtuNv9L drDvkpdeYSJiDY3sEkXjDYk0eXhjJUhkOOej7yEfUcc6kxARiOwLRZ91ApCbkZq51a 1DlM4aygC8K+7tMPsuyHuPXgtlhUMsrKFmzWe5QnTopYr5GRXxpXJp9kRg4sUJG2px 7btIXMzPZaupxro9KeNOsc8eN7Q4CrodjLRdG9uMjUnyKFs+UCAV79ctDov27Vvgoc 1WIStRJ1SW5ww== From: Arnd Bergmann To: Vinod Koul Subject: [PATCH 04/11] dmaengine: shdma: remove legacy slave_id parsing Date: Mon, 15 Nov 2021 09:53:56 +0100 Message-Id: <20211115085403.360194-5-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 The slave device is picked through either devicetree or a filter function, and any remaining out-of-tree drivers would have warned about this usage since 2015. Stop interpreting the field finally so it can be removed from the interface. Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart --- drivers/dma/sh/shdma-base.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/dma/sh/shdma-base.c b/drivers/dma/sh/shdma-base.c index 7f72b3f4cd1a..41c6bc650fa3 100644 --- a/drivers/dma/sh/shdma-base.c +++ b/drivers/dma/sh/shdma-base.c @@ -786,14 +786,6 @@ static int shdma_config(struct dma_chan *chan, if (!config) return -EINVAL; - /* - * overriding the slave_id through dma_slave_config is deprecated, - * but possibly some out-of-tree drivers still do it. - */ - if (WARN_ON_ONCE(config->slave_id && - config->slave_id != schan->real_slave_id)) - schan->real_slave_id = config->slave_id; - /* * We could lock this, but you shouldn't be configuring the * channel, while using it...