Message ID | 20211122222203.4103644-11-arnd@kernel.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp7681443imj; Mon, 22 Nov 2021 14:23:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWxVnD80KElCb9G8h60dUaLYLRKCNA4xO9248gkWG39BGYHI6LvSEWSgm5neC5FWJOwoLu X-Received: by 2002:a17:90a:fd96:: with SMTP id cx22mr264136pjb.151.1637619818987; Mon, 22 Nov 2021 14:23:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637619818; cv=none; d=google.com; s=arc-20160816; b=D66tde2lIbrxmqCFY9ySlGB0qC8rQ/+LUf/Wf+OuOIBeLN3gjdcGrYvW85IMsfebyR 84gy64JFv/Ba4KDnyg0LVLHawLQ7yHNy1qczEEzNa7kxJFgN8nOroxczwB7HeWuLKxYf 818/0zCNALUJtHUIOMPj688awVI/dox+LSIpt3IH3VkZyLrAxXvF5ixmTJ89Ak7TE3zP dskXohUAlV1GIvuMFAzstTCiLKuv5FfsR2CByFwkfrmdsaQJCBR6k73hfnTQg6ty2NZ1 BTLr85VrjtJdLLTwEfokm4lltCJCERUqf09m2XzN/RQViyaqgzoRJbdQcoV01CdxGpWJ 2dOA== 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=ijE4mOdd9ONb+KUEZz7fhTfIxozdnbhNnhuQ330VVH0=; b=zCQfwc+FeijVH/VUxd3nEqGTNVGQCcvkrLvUFccm9g+6CE6z50SDDVHqWnxD9KZU9M E4MgpsLH2A9OezTnR7SNxtMcVu71obk0xpSU0KY31g2Hjej8x6IxlP9WM9AJcIm+EV3z L0qQhrr/HSbQMww018CSDGPtt/1tJQMzmjRl58j6H+pov4SSjt8ZrgsUb7bbiTCFELKv ichvcUL8QzNDMobtZkxvjoSPfq4AxyTYDmapwVlS5oiBBOeqHwGUJ0FAoae2oBFopIme 02AtJJnIvkaz9i4IEWFD3HThvIj8FBWlci24JfaRmtL6A16KkmCkCunCNjvmId7n5ym2 HuUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=U8NP1Zc1; 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id hk16si27735311pjb.114.2021.11.22.14.23.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 14:23:38 -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=U8NP1Zc1; 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 15A5889EAE; Mon, 22 Nov 2021 22:23:38 +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 C25DF89EAE for <dri-devel@lists.freedesktop.org>; Mon, 22 Nov 2021 22:23:37 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8354861078; Mon, 22 Nov 2021 22:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637619817; bh=efjqB8lclC/CTZtvxidalnRW6k3GNlgXbza8zFiCoZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U8NP1Zc1gLJF725LnCrWHgavWOnwK2Ly1UnDTKcbTcdYbgu+miYfDh7Q5MZ9ByoyK GvjVX6mKNAxeCgehUkVbusSV4QnRfJUYbwPUXViEyL36MN8wB2u6OmqubcsatL9+Mq yeV+rIZkvLJeCdnf9o9aNwg+uxPfN+v8kmtNfC7MLTzE2itRKsloRWob2HCygsanXX VTKTLI7mi+52T1tblQaF6Ba0ZDdU3kkLWFXoKX2E3e7ejJJSpfWQ0xjrJeJKfQB24g xd90ghdcOKTXQirzhVKhiK98fux08E5EopBbXH5f2PC+N20hBxkQSuiFisX18MW7Gu qmf6Z6dWyCwbA== From: Arnd Bergmann <arnd@kernel.org> To: Vinod Koul <vkoul@kernel.org> Subject: [PATCH v2 10/11] dmaengine: tegra20-apb: stop checking config->slave_id Date: Mon, 22 Nov 2021 23:22:02 +0100 Message-Id: <20211122222203.4103644-11-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 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, Bjorn Andersson <bjorn.andersson@linaro.org>, linux-tegra@vger.kernel.org, Thierry Reding <thierry.reding@gmail.com>, linux-mtd@lists.infradead.org, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, linux-spi@vger.kernel.org, Robert Jarzmik <robert.jarzmik@free.fr>, Chunyan Zhang <zhang.lyra@gmail.com>, linux-staging@lists.linux.dev, Michal Simek <michal.simek@xilinx.com>, Jon Hunter <jonathanh@nvidia.com>, Andy Gross <agross@kernel.org>, bcm-kernel-feedback-list@broadcom.com, linux-serial@vger.kernel.org, Orson Zhai <orsonzhai@gmail.com>, Nicolas Saenz Julienne <nsaenz@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Manivannan Sadhasivam <mani@kernel.org>, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, Mark Brown <broonie@kernel.org>, linux-rpi-kernel@lists.infradead.org, Jaroslav Kysela <perex@perex.cz>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-arm-kernel@lists.infradead.org, Scott Branden <sbranden@broadcom.com>, Hyun Kwon <hyun.kwon@xilinx.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-mmc@vger.kernel.org, Takashi Iwai <tiwai@suse.com>, linux-kernel@vger.kernel.org, Laxman Dewangan <ldewangan@nvidia.com>, Baolin Wang <baolin.wang7@gmail.com> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
dmaengine: kill off dma_slave_config->slave_id
|
expand
|
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index b7260749e8ee..eaafcbe4ca94 100644 --- a/drivers/dma/tegra20-apb-dma.c +++ b/drivers/dma/tegra20-apb-dma.c @@ -343,12 +343,6 @@ static int tegra_dma_slave_config(struct dma_chan *dc, } memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig)); - if (tdc->slave_id == TEGRA_APBDMA_SLAVE_ID_INVALID && - sconfig->device_fc) { - if (sconfig->slave_id > TEGRA_APBDMA_CSR_REQ_SEL_MASK) - return -EINVAL; - tdc->slave_id = sconfig->slave_id; - } tdc->config_init = true; return 0;