From patchwork Fri Nov 26 16:17:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 519692 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp2472788imj; Fri, 26 Nov 2021 08:20:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSw4kz4w3RhRIqq8uPI38AZCSgGi8lBx98y87mIGx4ho5Rb+DR/16s7cKkumRD2yD1qi5j X-Received: by 2002:a63:904a:: with SMTP id a71mr8087414pge.528.1637943634447; Fri, 26 Nov 2021 08:20:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637943634; cv=none; d=google.com; s=arc-20160816; b=SlJrUfHmCSVEXiO/zxVx6x7lFNAd0rOhVLQpIfNeCY5OTG18f7lNslDW7ouaBa+H7p oHsiB9Zy3beqI0sqBe7Ztka/C4tPzy2s2bW3rEgvJ1J5B3YX8/leJzaEgbs5dWkjTtLu YTv58CJmbaVO63YQ1/pmEf4w6zQU52wJIwa4CdZoDDrOcH8K3Ho0e6pAumBXIwN3UW0b EVUuiQfpG5W4IDdGb8fJmZpUnF/CtfeSZ4A+b+q3uD9Wu31D+3TuDge/lxUs+ks2AEi2 Ps7WzxO+T/4FAMLha3L5iBqiRwNSlFP5Ihw+LUO4J7ODwru+wPGwgOScn5p94mNPSn0C 7lqA== 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=AAin265JOVL+o94pQxCU+sQvf2Xm5+tMWz8fFEKib7U=; b=pOKprAjxdy4SuckRzEE4tgfIHMjZVh4aU1jG8QriM0Ylb4m595o9yBYlpC/C5GJRV1 CzvuuNyP+KgZUoaSGNfbPQu+vB4tjVHjpe1E4qbGSDYZn0qJc63A/lv1Hq2g+APzKzAP rLTbaW7c1tGyGvkuYPnhDtU/QKZntY91q7tits+YGHmjAXTDZQDI0PLoNWcPXC3XSrvs 4j2SF37qI4AF1BRuuE+uXW+rHhplIssHHSZYOozlBbFTndp76pE7BBzKQAw/3GnM0jav uQ3W205sYStP2BAs0RifZm0qyweeUlW/y2SbZxb/91rizQN1ID2KMdXwMSDmyEZrzWG1 Etfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=BJbfUBs2; 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=QUARANTINE dis=NONE) header.from=gmail.com 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 s5si9732149plp.197.2021.11.26.08.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 08:20:34 -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=@gmail.com header.s=20210112 header.b=BJbfUBs2; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D09996F96A; Fri, 26 Nov 2021 16:20:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 53E126F90F for ; Fri, 26 Nov 2021 16:19:46 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id t26so25465452lfk.9 for ; Fri, 26 Nov 2021 08:19:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AAin265JOVL+o94pQxCU+sQvf2Xm5+tMWz8fFEKib7U=; b=BJbfUBs27vN/BXdrfZVLl+mcJlwxpt03ZG4BcmkKKYWyfYJy4vev3auqKaPv6mPLXq sCQksErcwYoAayxWRm2Fu8khU3NBW4ciWpcYxtaOAU1bBo2TT/sdHvtcOmqRlEpEM0Qy cXZnwb29eLcWAJc4cKYTreTbQ0TBZ7SSjP8Bw1fIYr2bOg86wtvJ++7OrAFCPfVNO1Lc GNOscG8hx+Ctx4DqIOM9dMx18cRwBS2kTsf0qAFQDs7ksTgB73o+LstacLuJI/RHCsLr m6TYv2sSM8TQwO1xrrIfgIlP0d1HbGQfH3+2DKxyAorsM2rpA6yYn2fovZ+lr3Um2+zC WznA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AAin265JOVL+o94pQxCU+sQvf2Xm5+tMWz8fFEKib7U=; b=2HLOBiwPXHRJNTEFpAGcRlhjDuPGfbkPiK6ta72qf/N8X8QL4FQfboBpxel6iPkwJr /bq9q+TOuiJpAp8TNaDExKK1d0UhVgTXZ4zE+r98cBmzXjet12TjoPL3oJE3Ab5S7bo4 b74ZQRJAywfdjLixKT9ZAoGhiLLkxQzN92weLjn/XTlxU9hRkx6mTYTWUnln682bIaSw /xlP2jaLL9fnVVvHhvyDfTR49Q0UHIK3BY/QvXHhFiXLeKA7UXrxwmaErcjtFUW3hJAF v5dcD2CZn6IL1nnbSv+y5Yf/gmJ50IJqDuaxg5kKSdtMhNhdre8ynkW1wQVaWvPdTZyi xl1Q== X-Gm-Message-State: AOAM531vARaHny9ZULeGmRbsHkQjmmSaLb/aksJh+QFaXOTGaAHrsKgb aGutIrNWxXcJSCfbDF5EBxM= X-Received: by 2002:a05:6512:3da2:: with SMTP id k34mr30230293lfv.605.1637943584717; Fri, 26 Nov 2021 08:19:44 -0800 (PST) Received: from localhost.localdomain (94-29-48-99.dynamic.spd-mgts.ru. [94.29.48.99]) by smtp.gmail.com with ESMTPSA id t7sm613381lfl.260.2021.11.26.08.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 08:19:44 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Mark Brown , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Agneli , Rob Herring Subject: [PATCH v2 06/20] ASoC: tegra20-spdif: stop setting slave_id Date: Fri, 26 Nov 2021 19:17:53 +0300 Message-Id: <20211126161807.15776-7-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211126161807.15776-1-digetx@gmail.com> References: <20211126161807.15776-1-digetx@gmail.com> 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: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org 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. Reviewed-by: Dmitry Osipenko Signed-off-by: Arnd Bergmann --- 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 6f0570cde964..e45e371edc42 100644 --- a/sound/soc/tegra/tegra20_spdif.c +++ b/sound/soc/tegra/tegra20_spdif.c @@ -298,7 +298,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);