Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3547730pxb; Mon, 24 Jan 2022 11:57:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaNCIxe4r+gcvzwOLcS2/4Feu0rqXU2frOoiGJsNai7zPb6cuyk8v/lGYVpt8s6dkbcIb0 X-Received: by 2002:a65:6705:: with SMTP id u5mr4189640pgf.158.1643054259901; Mon, 24 Jan 2022 11:57:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054259; cv=none; d=google.com; s=arc-20160816; b=T3YLKl74g0ylffT9FGimUwoT4NWWHAZo9Wahjs1Y1FV+lQJgZ5oRme2MtnQJl39GFK BP/vwqxBtBd4/rhgJRD80n0hwnfBML5BnHRzEnJkl/jA8g+yPfQ3FU2D0VhuIBOksdDW Jpwje9VijCjS/dRyMIelVgB6Lq84xie1mcTUqtiQKWaW54jU7QyIYihaUf/GHKVLT3/l fUOJo6IhPyoS+JJcB7hAXlvKI0+ddjVfnjVfCU9R9Xk5f8dMw6xjIzXu/z87XRU9Ajzj oJfV+Tr5A+QlSDVuPDAsQ0lAGxYXVluLz7ebvAulnE5Mvr1evSlfNfS5NLWNOOyZHnEG mW4Q== 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=Rj7rB2ATgemnl1DstJXzLcr2hQyHSx/z5hG9Rzw3YOM=; b=B6sRcCT9WKixxn0uYmGBvSgOqefckxSxjRUvLUd7QVH7guca/J5lykAREhlVXhphzv IuX3F/+FaDAgg34Xnnj/clw/+LBz8WoPFTC9RXi6lZIXd8uSkOfGkKo3cHZPo9y2S8jV GnJ0gD51O6GGQvPh3nN3yQrkiXdlXMfSESSSJi3b9nS7hzRtfpAd+/CWv7aHWPnBmhQQ T1TxVVnGAJbpBYVQuxkmvQ3UhD8i3c5gYAahjpC8oDbO+OmbRcSSBvhkuh94mkQHzHYl Jh8fAdfWUVMuL0tPXXqSLY6TwYhRX0fl/XMa1lm4YbWEPkemhZh2luRuVxXyGQdQGDnN UaOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kYylGHdH; 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 g12si13028945pfi.157.2022.01.24.11.57.27; Mon, 24 Jan 2022 11:57:39 -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=kYylGHdH; 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 S1343836AbiAXSxg (ORCPT + 99 others); Mon, 24 Jan 2022 13:53:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343599AbiAXSwH (ORCPT ); Mon, 24 Jan 2022 13:52:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D87C061747; Mon, 24 Jan 2022 10:51:54 -0800 (PST) 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 90C2B614F5; Mon, 24 Jan 2022 18:51:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C720C340E5; Mon, 24 Jan 2022 18:51:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643050314; bh=PXQvNXSynGedMbXNskrLymAziKLhVRUN27jmdLGmQu0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kYylGHdHDm2f9+8UnpWPypGsTqYQjLqikenBhiVkmJ++1Fo4GLfAXL1UCowM8n6QU KUurWZWXax5Du9g1rzftJl0vSSOARFGnQ1xK/nCcVuCjrtq46CAurqaI1roeTXE4K/ BUNDKFp/mTCNlLyWZ5lTY1CzBV/PpoPwWqtg1uaQ= 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.4 051/114] dmaengine: pxa/mmp: stop referencing config->slave_id Date: Mon, 24 Jan 2022 19:42:26 +0100 Message-Id: <20220124183928.675412763@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183927.095545464@linuxfoundation.org> References: <20220124183927.095545464@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 e39457f13d4dd..548600ce6cc87 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -723,12 +723,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 4251e9ac0373c..ff2e28137a7b1 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -959,13 +959,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