From patchwork Mon Nov 22 22:21:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519300 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp7680803imj; Mon, 22 Nov 2021 14:23:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOC/+jx+JZSy6pIDVzt3iit5ONb31GIXan2st6cGYavkWY3iQU6bmfdFuR2Gq7a3N/DUMY X-Received: by 2002:a17:90a:e7c4:: with SMTP id kb4mr36170562pjb.237.1637619788076; Mon, 22 Nov 2021 14:23:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637619788; cv=none; d=google.com; s=arc-20160816; b=kUigCkrpoOKoZEas9nFMg4sTAQqf5p3BrMUQs9sGGdpUFft0roScvvOcLXoEkCLqmV mu/zv+mXaoaJJB96zfgBmM9l55/PL9c3C3+hi48eGkWhZ1WKnjlSll8pyWweoym0FZ4Y WX+or9ERN6Gu2VO7hFrWu6f7tCKsHJ/GRXqmmSC80kwtEZK/A6+7ifWz1gjPlTC4Yq59 a82Prt7NUqHaj89J2/xVwfJz3F1+ma1nwyIIbqtqSmsgtZfI0B/E37piBKmgh0zlqqPS 4PJqV5wkUWqO5kk2S5PGs8KIYk5v9w0X2TbzGZdQhkZ0O8T1SKLmxQ7zCCwMd19aR4mG 40jQ== 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=lY/ZZHhRefXBSqJPItN+26lLhHsJafvrzHIUj910lNs=; b=PqfnvhmnSd63WmubvYJZ0A4Pzm1ZNVWIOovf0vTDNAw3+mWGcrope34SPscg6uFyYj DZDGWR0tcchKpu2k14Kv1X7hhuEgfBi9byrawenBXpyDv1RwXV4U8uIQHErFi4UUo0mZ f8HeWfTBntK7yUdprBxHQsv4MvU3SR/aTtJmtg/brDtC9qU4veQ0i3EdfsI0320QxDZJ aLiyaXhwJ0vpR1NQxfxBAc3RjDAQgl3wpsCBBwx3D4sIGvY2hHaBeTtQ5uds+qUBmfSl rINF5GhJ+qRnKHO+9Jxqj661nvnfTc0pkCd0LBX41nzM4m71qYUKO+qJfMcvLlRM8/8d JzGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=n9vM5QRu; 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 s189si2885095pgs.318.2021.11.22.14.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 14:23:08 -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=n9vM5QRu; 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 8881689CF5; Mon, 22 Nov 2021 22:23:06 +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 62E5B89CF5 for ; Mon, 22 Nov 2021 22:23:05 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 20BEB61028; Mon, 22 Nov 2021 22:22:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637619785; bh=d7m5O4/1nyBGt5Kh33p+oJ8bVHRAS2FfC8Aq7HlukD8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n9vM5QRuk8fadP59ElpA3ffYUxfRVicrLxNOTf6e03SjGI2V3nsfn8cy3no76jRy2 RDW8l+sIUSCY6gvdbzO4wQ2AAfKEwEssXaTOKLN8mBgW2oC6rbb8Grgm3zn26NcITl 4hcTr9aLhkFY3SCxz7WQc70Ko9Jp/B6+EVRTt4cSjOhtxz6FOGr83EAYftKEZg7yZT GnYh/33xI6Gx+eRxpaESCR5LoWgmya5WHI/acve3Woxr1X/fjCQRjNzrWaWmJ3p2s3 Ok01FBgGD/IQQP5RVu8NbnuhF5Z+l0bB0OYW66oZ0UUqp0zstTqsn5/tPu0/YQMz8f LRNC3XKm0SL3w== From: Arnd Bergmann To: Vinod Koul Subject: [PATCH v2 05/11] dmaengine: shdma: remove legacy slave_id parsing Date: Mon, 22 Nov 2021 23:21:57 +0100 Message-Id: <20211122222203.4103644-6-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 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. Reviewed-by: Laurent Pinchart Signed-off-by: Arnd Bergmann --- 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...