Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3560909pxb; Mon, 24 Jan 2022 12:14:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvJjcXG/+rN3PII8oOsDMYWB2L8g+E4/VVI4tD4vgBP+L2btDTO9kYlCeMUSSngEx9E7WV X-Received: by 2002:a17:902:9046:b0:149:6fd4:4928 with SMTP id w6-20020a170902904600b001496fd44928mr15878658plz.135.1643055281658; Mon, 24 Jan 2022 12:14:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643055281; cv=none; d=google.com; s=arc-20160816; b=m+fOzXFybl8SVXnMO/V6QlxnQRLlVCFiD3AxNOsXNJmPpWALaJIMmSubZIUGMp2ZO6 /aNgkeesAb8LHr2GKxrRWC6oXUPM57khYBFee703SamECvb5LWFX1q+lGL0kafZ9iQmt B7odTUMieTy+DnbJOKq+MpJwpDuT6zQHWvKl/WeI4ovoU+Dasm37IpJ862FR32Jbgo6E OO3gMtTqKjbkJRKGvppe1Ih+ZpJuY3sHLpEJWia4KauLPbdHzJPCBWs65SLPBJ9cDNXS 1zTqIy8o88q2fLdnAgCGXTFBgiT07BJZ7JbCemMFjpQB8t2Qfhd+GrqJ1yAiRsIWrqt3 iMoA== 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=tQ7BcppTwGxq5+JlVoD1w7PviWzv/LaCOI8QkxeU3wE=; b=PLs9+tH5dZUNbuQ2dCG0LWroKWCgEeDJyUiPu0cbPP1DEhROn7dxhG2uIUTI5tFa53 IH2wljaiPMXPR1X0XC5blx59yiV17wK73rzeuM0sPpVGhDEcVc/wgv4kJzRDTa/veC2K Sesdfu4T2gVJKu34Uxpn3+1KRB3Cbg0j6jnWSYTxuyqE0V9i6JRgPuclnjXUEo6XUbLo 1uwuoA1ZRfxBIjThtJ2XTog5iQzUXvzsYqYxy/cqAYwAEvou6pjF9pZbOybgd/mTrOxj q7iUDSU010JAknW3SFzSEMI/1LY0t9muvEFsOUO2Mu6rnnnZ24RgX8WunTEdhbYy8KDa xSwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TdEBOFmf; 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 g27si10358245pgn.371.2022.01.24.12.14.29; Mon, 24 Jan 2022 12:14:41 -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=TdEBOFmf; 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 S1345031AbiAXTRq (ORCPT + 99 others); Mon, 24 Jan 2022 14:17:46 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:37950 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345360AbiAXTIE (ORCPT ); Mon, 24 Jan 2022 14:08:04 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E1B7361031; Mon, 24 Jan 2022 19:08:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A15CCC340E5; Mon, 24 Jan 2022 19:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051283; bh=Lr10pP5IZnhR4wLPcD7RIYgNtHoHvI/Vq/wfV3TZfso=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TdEBOFmfur7sKHhv5ZHIxomfD2hvLRbrVE3vzvDMMEd7A+wtuyZNrOjM7JAniQI6I weSb0NJPTPI6PLhtuLQwJxADDcFJewzMOpzuDMxG7DcIJW5LQe+7bR08ycz9vEEiEf 8dBuwfDLeF+Om902QWzcbpCKHZZks9JjgjYT5L/0= 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 4.14 079/186] dmaengine: pxa/mmp: stop referencing config->slave_id Date: Mon, 24 Jan 2022 19:42:34 +0100 Message-Id: <20220124183939.666063767@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183937.101330125@linuxfoundation.org> References: <20220124183937.101330125@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 eb3a1f42ab065..e8b2d3e31de80 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -722,12 +722,6 @@ static int mmp_pdma_config(struct dma_chan *dchan, chan->dir = cfg->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 b53fb618bbf6b..99a8ff130ad51 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -956,13 +956,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