Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3573016pxb; Mon, 24 Jan 2022 12:32:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7jK5ldiuZoUrDNzdz2Sxl2TWIVvZ4cEMUe37+0+byx0WTbaPGkrZhMkOBPwWOAcPq84Mm X-Received: by 2002:a05:6a00:15d1:b0:4c1:e1d2:347c with SMTP id o17-20020a056a0015d100b004c1e1d2347cmr15488160pfu.29.1643056354050; Mon, 24 Jan 2022 12:32:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643056354; cv=none; d=google.com; s=arc-20160816; b=A9YSsnjcITSatGL8qef4e2ph6/5bEvq5a2jE4owmGHf4E/SU0DS/NsMAZN6KRwHGue dx9IGBkgaFyLshgeYjrx8Ni6tRqt8hXCHxZXJz1Gjh/4tfBGmQNf78CogO4bLJY9kMzD s3H86H4xXxRfLGqP/auQLeOzLIP4ysJrMnTA9JklqQKbknUcvRYLMvx8Zh+2YBSO1cD4 4Fcl4TSLyqL/aCBWPEVqZ2OMzj/3KzQz+eJZPN1GUrebQeximFK8v3hzIA2di3hIZb2Y 4kSLUhK+KueBKdv4sNxeKGG2bfRqh7ac3N2DJvYixzWZHzAYREOnx+1rkz+mxDKmh5Oa 7Grw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oPAG1cu148Aag7e/o7EsQkfyV+mjKqwQHLAQ6dpUWn4=; b=T4TL47VpSb1u8mwBU5RScdh1E9xSZCW8PZA5YryDWdx9B0y+BwN+Z0Phf4/1KxrLBh 3IrvFpL3FiKDZAgkCVL2nGD7/+aiJnlp9P5ISL9dgl0mEnvyy5F9tFmFBx59xtlSntp+ P2JjdS6yKuMEnnoi+juLjTpSqH2CvYovdZvZHMLMFNGetynKODWffzHvWZb7SMpI+YFx NiyeHy8Fj71G2LY5yIhAl+WQsebCqVkdXLaOuSTFGMrgIe37hbspCMNcIm1WgP2NcVxq PYQTcHserhZ70/HIwyH1VqgjcVNrvJuio8TTAqVMSVkr84MYICTj+tsmEfQ8/Iiz4ZUA xOFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pxZehjxh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pj10si325087pjb.125.2022.01.24.12.32.15; Mon, 24 Jan 2022 12:32:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pxZehjxh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355204AbiAXTkL (ORCPT + 99 others); Mon, 24 Jan 2022 14:40:11 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:52022 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345150AbiAXTb3 (ORCPT ); Mon, 24 Jan 2022 14:31:29 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A1A12B81233; Mon, 24 Jan 2022 19:31:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFCF5C340E5; Mon, 24 Jan 2022 19:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643052685; bh=koS4GrF8YgxQXPW/Lc4WUIb0bRVCkKlo31oGMe+LMc8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pxZehjxh8TWMnTrem3iJz8jY7dryHOK4GBMJmMxCuPkiDdmVxpHWIuDHhG5XbPFP0 +7EIzXYAg0tE4G3lz9ywKqdA4dEFz+cdTEVwsjdFuXg4U/hz3HEAlm1cReUxWoa8DX dXfLgBCVlwlx3RAW9dRAto3MKzYn+DOz9ZxnKzQE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Mark Brown , Vinod Koul , Sasha Levin Subject: [PATCH 5.4 142/320] dmaengine: pxa/mmp: stop referencing config->slave_id Date: Mon, 24 Jan 2022 19:42:06 +0100 Message-Id: <20220124183958.473485737@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183953.750177707@linuxfoundation.org> References: <20220124183953.750177707@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 134c37fa250a87a7e77c80a7c59ae16c462e46e0 ] The last driver referencing the slave_id on Marvell PXA and MMP platforms was the SPI driver, but this stopped doing so a long time ago, so the TODO from the earlier patch can no be removed. Fixes: b729bf34535e ("spi/pxa2xx: Don't use slave_id of dma_slave_config") Fixes: 13b3006b8ebd ("dma: mmp_pdma: add filter function") Signed-off-by: Arnd Bergmann Acked-by: Mark Brown Link: https://lore.kernel.org/r/20211122222203.4103644-7-arnd@kernel.org Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/mmp_pdma.c | 6 ------ drivers/dma/pxa_dma.c | 7 ------- 2 files changed, 13 deletions(-) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 7fe494fc50d4e..ec186cf8b8af1 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -728,12 +728,6 @@ static int mmp_pdma_config_write(struct dma_chan *dchan, chan->dir = direction; chan->dev_addr = addr; - /* FIXME: drivers should be ported over to use the filter - * function. Once that's done, the following two lines can - * be removed. - */ - if (cfg->slave_id) - chan->drcmr = cfg->slave_id; return 0; } diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index 349fb312c8725..b4ef4f19f7dec 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -911,13 +911,6 @@ static void pxad_get_config(struct pxad_chan *chan, *dcmd |= PXA_DCMD_BURST16; else if (maxburst == 32) *dcmd |= PXA_DCMD_BURST32; - - /* FIXME: drivers should be ported over to use the filter - * function. Once that's done, the following two lines can - * be removed. - */ - if (chan->cfg.slave_id) - chan->drcmr = chan->cfg.slave_id; } static struct dma_async_tx_descriptor * -- 2.34.1