From patchwork Mon Nov 22 22:21:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519296 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp7680256imj; Mon, 22 Nov 2021 14:22:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCQYYeH6cMeYrPFm7BNv9x90Pp2bcry8pkb1pX4AMSZbDdV5M8CF9Hn+9TVRCRXohRCdN7 X-Received: by 2002:a17:902:ec8e:b0:141:da55:6158 with SMTP id x14-20020a170902ec8e00b00141da556158mr703576plg.7.1637619762748; Mon, 22 Nov 2021 14:22:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637619762; cv=none; d=google.com; s=arc-20160816; b=VxmVbgueez2aBXqmpdhkBaI09I4nRuKlub9HCoh+yuRT9HyfoOhGaajXKSkBfOuNKN DxQXO4ob98fY7zTaYQWhu/rLt5mESCFCNWDwL1+/6EJ+mmvH9d/E+/3vzDG3uiPYyxaQ WJxW2eSaUg26nVE3EVqYpDf9e05nGEOsnBKnwvpu84d+sJ1jcEEOVoy4JHVAZjS72fBJ 9FfK/ZnGGg2xCqvFh9DTdE8h9jWAEcTRRRxbs7Uiht6OlA9wJ8SSENUzVUMOxUVPTlgU 6fOaa83YInPh2MLKP6v1alRMyrybgAZtW3bcUoml8ErP3lJiHI/i6G0mDLd+WWEOKQRz Lmig== 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=tcU1B/DU7nNZUrt3uwfZtZaKkOpkxsnlaApfV6pZgAg=; b=y2o4v9LBpzxBJsWHes5PLf650RXjJVUaNuKlUlD8eQCD2y6dyvL8uNlWpsQhbsapaB 494PDg8A5Oo8ZPbkQ5lWGVzr4kD7WVue3BBvnrRhjXlJc9JXSMIyJWNr9/TGxuA8w39z Qd3yUVgwEpIAB/RoQ2Rb7pKs21nC0nLVB/JA06rbZDAhb9GAR2yh4v0GuzwINDkAF3RA 2rCJN2pM1M2sR39645Gre7C75Yi/5J/q0JIiJR8KVoRCe5Yw5Xau27fdzLeFV55/resU RKQi1Q7x7xlUOquGpZs3Q/jK3GemCxTJLRANZW1eqVWW+ednBh3rRWr6eiNfdD8R64K/ lSjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=WR3+Blu3; 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 m8si25887721plx.14.2021.11.22.14.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 14:22:42 -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=WR3+Blu3; 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 DCE6F89DFC; Mon, 22 Nov 2021 22:22:40 +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 6A67689D9B for ; Mon, 22 Nov 2021 22:22:39 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2D11461004; Mon, 22 Nov 2021 22:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637619759; bh=sys9XJFA/dhliBmMopCopzBXwQ5L2mlun1TUrr3vGRA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WR3+Blu3IRW2Yhs5zCvf1L9Bs1DK6UlkyNrvuALltf/Cx2Ld4S+RIwoNQP1ZJa8Me 0k2gQIm+YMLlRt6gZ8S3u+mo/GUMQZG/LQIYg25XUw7m4G5+PnoriFpQxQaiHvkuzg /L+0271pMWb8Zv9xbu0UyZJjSWDGu5B/50b1v8edJiwT8VelW0JiKduUh3tFwMrJyc n0UsZBridxhTdPjzbsUJzBkQhqYc56e264H2Bsv/99bpTXzZpwFGbUEm8LiG14LSoL szfShKk7TCtNrm3icqZwHYOcAQmqiIOUKdmlM+ayHLtOrcSROgx3Zd2luYkcUzlRym p9c+BGRLp1lgw== From: Arnd Bergmann To: Vinod Koul Subject: [PATCH v2 01/11] ASoC: tegra20-spdif: stop setting slave_id Date: Mon, 22 Nov 2021 23:21:53 +0100 Message-Id: <20211122222203.4103644-2-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 DMA resource is never set up anywhere, and passing this as slave_id has not been the proper procedure in a long time. As a preparation for removing all slave_id references from the ALSA code, remove this one. According to Dmitry Osipenko, this driver has never been used and the mechanism for configuring DMA would not work as it is implemented, so this part will get rewritten when the driver gets put into use again in the future. Signed-off-by: Arnd Bergmann Reviewed-by: Dmitry Osipenko --- sound/soc/tegra/tegra20_spdif.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c index 9fdc82d58db3..1c3385da6f82 100644 --- a/sound/soc/tegra/tegra20_spdif.c +++ b/sound/soc/tegra/tegra20_spdif.c @@ -284,7 +284,6 @@ static int tegra20_spdif_platform_probe(struct platform_device *pdev) spdif->playback_dma_data.addr = mem->start + TEGRA20_SPDIF_DATA_OUT; spdif->playback_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; spdif->playback_dma_data.maxburst = 4; - spdif->playback_dma_data.slave_id = dmareq->start; pm_runtime_enable(&pdev->dev);