Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1424413yba; Thu, 4 Apr 2019 10:26:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLI9yWRnjduHpwDvzq0DikY4xz/x91O8JeAqPEP6sN1z3fvswDgvjPTnL9NcheiSqw3OD6 X-Received: by 2002:aa7:8252:: with SMTP id e18mr7098692pfn.105.1554398764679; Thu, 04 Apr 2019 10:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554398764; cv=none; d=google.com; s=arc-20160816; b=bm8HTis+rm6tokgUq7Rb4d0x8WnBjqhBCq6Nqph/t2gb9kIQkenvrWoCdaLltMIjGk LwoYMLQI6dE9JpInpF9r8tHi4BXOEPO58lJpZBUx7vd4X/Z3MgFsRobyNDduD47NKHyd suGCrlMYezNTMlEigucFev3fh+h4dpy3UqJb6J3lvY/Rpw13n53Ymo0tcO5n8rO5UjAc CsGi5OXN+M7WyOaLr9mFIwm2C9lllpwhoL6CZFnMZozrFD1XHebw7xlffebQs1dwhQHF Td6u4sl5hz18jkUF6wzi1PD+4NjzSCBQgfzabu5a/6kz9JVDker4XqsWbUwZu7o6852j i4ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Q83TdqXUyBqvzYZ5KUBzYl50m1WYFx22rMtjrtnrsEQ=; b=gW8TP4DLj08xjaC9cOYcwegdKixl7xduavG240vuZvAmNEbqo1oJ35Qd4kisHU/a8u 13QuzFB+3KIV0+qWCbBBMQMTEv2dhtTzngbWxwEJoiDC3XcYF2BWFjWFM8QzKvgYIumZ 5G3puS9pILBcxHVd+iRzhh2fB6I/pBjaW7Ai+S0c5sd907v0j/zEC4fm1nFsZG1cVGiG BpSW5WXkWMokf7BFtTjhWWE5b3Ra+c9LtkQr+k/a4SKPVto4IvpAppXFXqwv7cbqg6I2 R5K9hotrgApoirGdf+oSNjAYL7BN/GeqTxED53houVoiO1U9xfEmaeZELxg5KJab1nbQ lAUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7si16787182pls.259.2019.04.04.10.25.49; Thu, 04 Apr 2019 10:26:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729383AbfDDRZK (ORCPT + 99 others); Thu, 4 Apr 2019 13:25:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:48800 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728663AbfDDRZJ (ORCPT ); Thu, 4 Apr 2019 13:25:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 51F8BACCF; Thu, 4 Apr 2019 17:25:08 +0000 (UTC) From: Michal Suchanek To: bcm-kernel-feedback-list@broadcom.com, dmaengine@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Michal Suchanek , Vinod Koul , Dan Williams , Eric Anholt , Stefan Wahren , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH] dmaengine: bcm2835: Drop duplicate capability setting. Date: Thu, 4 Apr 2019 19:25:03 +0200 Message-Id: <20190404172503.12155-1-msuchanek@suse.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Michal Suchanek --- drivers/dma/bcm2835-dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index ec8a291d62ba..e38b19dd2895 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c @@ -891,7 +891,6 @@ static int bcm2835_dma_probe(struct platform_device *pdev) dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); - dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask); od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources; od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources; -- 2.20.1