From patchwork Thu Dec 2 16:23:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 519752 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp884394imb; Thu, 2 Dec 2021 08:25:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHfkfS0Mr7X+6lqiUWwCBzg58VvF1RD405BUVWg+4AdvGwjSfd2e4AqPO6fWNAImroBQJd X-Received: by 2002:a63:3c0f:: with SMTP id j15mr141946pga.243.1638462341356; Thu, 02 Dec 2021 08:25:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638462341; cv=none; d=google.com; s=arc-20160816; b=eFGGqGZo9VRTtHtXVRhWf3APbKjqQq8qqdScLXRH5TdiS8P5nGbcmb7D4notZp+eXD sNBg9X91revDmf1QfqgKreoWM6vLxalJPFNehgKvLG7DWIcvRwuxH3yYpe7cT+V3GMZ5 wSbb6aaWo+1j/PlT2njTujdbTBX6h8WK1eJtf+vFOmgnlqwyFhF3/7AIlJfZgrLIfSV3 oj7mwNcbnvIGfeKMc5ToOgTRuTkY/XidZ43tL0Hpc9C1jlbrc4Lqm3U8RbXIVH7RFDW2 kaUDQv+sTArvpjfbCJjy7nzgwMyWWBte4v0I5WghKy+Tbdix8pV5gDi50K4Fwco9I7gg uoYg== 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=0/mdXLe1DzBbmYiKokVIIdegaoCJr48h8Knu8O/17lbAxAxFPVl0ytJppLIoCF5eBF iz9VuvuhoTPdHpBUMgWFRb1jFp0XGhN8ZUpl8KXU5WTb1AZwfEJBLAamehygIgODHPEV zQ1kyr3OAjTn7LAW/k/EPcpf6FQ3534e09TO2go3VzdWVwk9orrbaccBboolaYpk/4/t R6hrFCjtJsUF0P5OV6gGdCeBmrGYouWnoI6xar2LwAkuKV7YPBZ1yK6M3TQVWh624UT+ BdL87+RmBAQIBcAgGu4khRos3R09DAA+SvfkVsSU6alYKoO11sPiRXmnk78885Y+Vcwe FvrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=pLQ4GJmo; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id d13si261276pll.171.2021.12.02.08.25.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 08:25:41 -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=@gmail.com header.s=20210112 header.b=pLQ4GJmo; 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=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 EAB356FB16; Thu, 2 Dec 2021 16:25:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38B3E6FB16 for ; Thu, 2 Dec 2021 16:25:23 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id j18so659325ljc.12 for ; Thu, 02 Dec 2021 08:25:23 -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=pLQ4GJmoBOJuH7wLOkufv40oGn+6v3Gytz8bM59miPiudq6sFxymrpgus4KfVo/Rgx 2um5/3RpKDCATnI9f9SoujwYqxlxpSSh1bYp7EU7phmb3XldHo/1H5lKDnlSaWqtGNQn WuiFjTv79YtRFAcAtKQtgmHpoxO+GA5jrjgtPdQtSH3kar4oAzrCjWE0BjIZ1aO3iKyu jevLCOpllTOA+bHXXOcUfrwtcziyuvKzGU1hRi2XoVpddsMTIJe7JlVC+3lU5lA0g98G 4bTrwrRxbAsfMZet31PKmGihDNbFS02bDeAlNTDN6sn4XAqCwlNGoorksOYpqZBjS2tc u01w== 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=HpxhwiUItZqQsU9luhL3RtSNQAKtGkTTFTYpdYG869Inu0M/rk1ED06b0UfVILGix2 Ho99GS4u5zIu1RI2lc7vOMTPVsDvvlTVMYqZ4X4PksnLYJj1mTbrrqZamEQv/8qbzSmg E/oA0EH9I4oJwNnp7u0oL4bcDMTSV4dc1MERFIlQSKJUkTjOkDcBWd3Kul6jo4J6bOXs +tWFNrz5ecYrlL+DWMK+aYjtPgRqEruyCtUvbaRFzg1asj8J83vbLXii9GhTC0JedLdz 7ZJ3V2ShhxWJc9KFAFuyOw8kJGC7vXn2CbljMI0eLgTaTkuN4MtiO+9v69x7lOijduBy P2hw== X-Gm-Message-State: AOAM531OB+tm+25lRVAFU10EWn2QyoEPYL0qPMlDmxHpUi60zGJGuZzH Z6pUJKBEqwfXrtirEwM8l7c= X-Received: by 2002:a2e:a378:: with SMTP id i24mr13292701ljn.290.1638462321626; Thu, 02 Dec 2021 08:25:21 -0800 (PST) Received: from localhost.localdomain (94-29-46-111.dynamic.spd-mgts.ru. [94.29.46.111]) by smtp.gmail.com with ESMTPSA id d18sm36806lfl.30.2021.12.02.08.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 08:25:21 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Mark Brown , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , Agneli , Rob Herring Subject: [PATCH v3 06/20] ASoC: tegra20-spdif: stop setting slave_id Date: Thu, 2 Dec 2021 19:23:27 +0300 Message-Id: <20211202162341.1791-7-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211202162341.1791-1-digetx@gmail.com> References: <20211202162341.1791-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);