From patchwork Mon Nov 15 08:53:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519137 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp5345048imj; Mon, 15 Nov 2021 00:55:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjlgtz/9BXn3qHPBJ0r7otgq0HRq7JwLily0XyjGOK+qcxl4ul4+JIx5go7igjLIALbp5a X-Received: by 2002:a17:90b:1c0e:: with SMTP id oc14mr64250452pjb.113.1636966502323; Mon, 15 Nov 2021 00:55:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636966502; cv=none; d=google.com; s=arc-20160816; b=wRZrHF3vKHXfeCAlgrR0eRGllG/j1TZlNLVBSU7gbjyvU3zHOQ082jjib9AhEgXb+s zQddmH152hBCQuZ4mkrEiHcbJTrxQrt+c4V6mOhWTqiyo3mH3XUP7Hay85HyY/jHdWjY rM5LO5LZUVaoalMWDniSLXwh36qRwlFhidjhoELv6arYFmPYtmHK8oCiyJUb1fhc81FJ iSfMNAzuXRsTzB0bwZ5T4MezDQA6P3j5XZKWq4Cypq2gPVuhcuBfFuvRSkiB9TYugPj+ BZOK2U8wM7DX7kCmLfG0txszPlxwLiUFYSxCv2g54eFfeTRlyOLwibcECxVk1DCwBnSL MtBw== 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=Nn+GZog+AKpSfTF2PdqTeHCCUnOrbCRYDNL4Wo18/Oc=; b=ujoA8fKiAq3cE6ryKF227XJakFhYvePpclI0H1ub34hzevOdlE9QVlsQPkzQFA6JcI sedtfWVyp3r/udQHiLMMjqLIVW2vh+hgDOL01ucuHdbll0bdIcqODO0cDl1/xB79wwkE fHQC916l/pnTkzJc2ulEMWGlr5l+iWMSp+8MS90PCpVhs/sTrzo3M/pvL4tjUCL5BX54 ewfT56d4scbV0w5rwiheA+YT9HdJGPyvy5ds2ZPhi7E19Upvmj5otSaonDivXzaR60D2 wQr6DSBqcN+ObUaru0k701PqbyeJg6ebWY170ylXVSyAael0Cm2xZswoBwNulxwPfh1d /7Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=IWPlOAoN; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id u33si25996759pfg.30.2021.11.15.00.55.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 00:55:02 -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=@kernel.org header.s=k20201202 header.b=IWPlOAoN; 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=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E89636E989; Mon, 15 Nov 2021 08:55:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id D73276E94C for ; Mon, 15 Nov 2021 08:54:59 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 9224463222; Mon, 15 Nov 2021 08:54:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636966499; bh=SSVFq8V5QgZ8AMrKjuNifJwPRFV2bwVTfXVHbqPj2aU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IWPlOAoNVZ+ir7KGxrildoWGM1mQnaf7ewCJRGxAlh7sp55Kq08VXBsh2HJq0UNxl eJrtqrhd9f07DrNoIIYQxXcw0Dj7MyBMWvAjpLeDa0bPZnGyAXGf8Nn/iif0W7tUNF aASGKwu2D0mv1fB6bh3667PFZmstR+abS6MkboFwlFENPAACABf6i0vQqciiacp6D+ CIa/shXrYU7IuqNvw2zRLT7DL94AW8AmV/eR1AVEhs5f+SoYebk81ievQQ/PH1ufo+ sAfTJSFcuSqXozuveEFZbfN7PIQy3f0IbF7les+K9TRndRM/0BhX+9Zl6TK4QdhdOX HbQ0zPRM57fFg== From: Arnd Bergmann To: Vinod Koul Subject: [PATCH 02/11] spi: pic32: stop setting dma_config->slave_id Date: Mon, 15 Nov 2021 09:53:54 +0100 Message-Id: <20211115085403.360194-3-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211115085403.360194-1-arnd@kernel.org> References: <20211115085403.360194-1-arnd@kernel.org> 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: alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, Bjorn Andersson , linux-tegra@vger.kernel.org, Thierry Reding , linux-mtd@lists.infradead.org, Laurent Pinchart , linux-spi@vger.kernel.org, Robert Jarzmik , Chunyan Zhang , linux-staging@lists.linux.dev, Michal Simek , Jon Hunter , Andy Gross , bcm-kernel-feedback-list@broadcom.com, linux-serial@vger.kernel.org, Orson Zhai , Nicolas Saenz Julienne , Arnd Bergmann , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, Mark Brown , linux-rpi-kernel@lists.infradead.org, Jaroslav Kysela , Andy Shevchenko , linux-arm-kernel@lists.infradead.org, Scott Branden , Hyun Kwon , Greg Kroah-Hartman , linux-mmc@vger.kernel.org, Takashi Iwai , linux-kernel@vger.kernel.org, Laxman Dewangan , Baolin Wang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann Setting slave_id makes no sense with DT based probing, and should eventually get removed entirely. Address this driver by no longer setting the field here. I could not find which DMA driver is used on PIC32, if it's in the tree at all, but none of the obvious ones even care about slave_id any more. Signed-off-by: Arnd Bergmann Acked-by: Mark Brown --- drivers/spi/spi-pic32.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-pic32.c b/drivers/spi/spi-pic32.c index 5eb7b61bbb4d..f86433b29260 100644 --- a/drivers/spi/spi-pic32.c +++ b/drivers/spi/spi-pic32.c @@ -370,7 +370,6 @@ static int pic32_spi_dma_config(struct pic32_spi *pic32s, u32 dma_width) cfg.src_addr_width = dma_width; cfg.dst_addr_width = dma_width; /* tx channel */ - cfg.slave_id = pic32s->tx_irq; cfg.direction = DMA_MEM_TO_DEV; ret = dmaengine_slave_config(master->dma_tx, &cfg); if (ret) { @@ -378,7 +377,6 @@ static int pic32_spi_dma_config(struct pic32_spi *pic32s, u32 dma_width) return ret; } /* rx channel */ - cfg.slave_id = pic32s->rx_irq; cfg.direction = DMA_DEV_TO_MEM; ret = dmaengine_slave_config(master->dma_rx, &cfg); if (ret)