Message ID | 0eb7556e7d0a29c7d88e8b67b6228d1ffb332ea9.1541480353.git.baolin.wang@linaro.org |
---|---|
State | Accepted |
Commit | a0ecabf503413446f08deb8f7226b6135cf922b0 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3457896ljp; Mon, 5 Nov 2018 21:02:05 -0800 (PST) X-Google-Smtp-Source: AJdET5eOezlyfLDdolIvMwmWHL87b/9nXH9k99GZZhpq7RTTSqDvxzfv8wM0w8f0LqLndU0RmX4U X-Received: by 2002:a62:4586:: with SMTP id n6-v6mr24395587pfi.3.1541480524907; Mon, 05 Nov 2018 21:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541480524; cv=none; d=google.com; s=arc-20160816; b=BUsmy+uNrZ4MAJiLdtq60GOB5bekZZ+EkyfG45x2cJMI1c/2ERataGDSx40hZlsfg+ MU5gTsz1r1pd7L3KBySeflZ8ruiLPHEGAREXU4IQKZPO6cZg7KP3/9/oNdohkgFonwtS 4Pr/FOf20hwKoC1H9oj5nKgf8Q8wmmCwN7SaHaeXFggta8MSlZSaGpClJiuJYElQAV4V ZR01jUF1aC9WJ9be3KB/l6kIarRNp/J/ERpXlb4lM4LEaoV1+Pct6SqfpQbNsfjhtDmD W0m/tjQ1pqbDc0wlqsIMEFj2dcF0aWeNHxOCNf72MZf/Jyg87FvY3nElzj0Y+ITzfLU9 FxLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=ESGwK71J9MVIx0LSTHlmPcydTEacdFoGT0gjQtbEMzs=; b=Nds4s2fIbRESctl5fW79yAveHT4waRNnVW9a5B0wIOrcNSg+bQqygxbcDfwx4jyoGR U1M65ZR/WHhMbxEF9QOZaxXSSIlPrIqqWdwxAYIZOlixIpui+UM/iFOVc19dvfz1fI5B HVNxB0bkAFS0VSZc4rhW/cpymHWShScmhJ7s3a+KukNaBg4+odA3VYz/8E1ryL+f2omY gjEmiYkq6bJazxeOS/b942atmcJLUX1rHoB7ZZ2g4HLRQVQGpLgv+MCTJ4jPbCtwlxiH c6lihBrrZ89fwK1LcYIDxsv10LxZhVwFRg1dE/y9kNCdc7paJD0akWNqkhC2TvxzVGwL F7IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dLTJjwlO; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dmaengine-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13-v6si45251820pgj.154.2018.11.05.21.02.04; Mon, 05 Nov 2018 21:02:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dLTJjwlO; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729641AbeKFOZZ (ORCPT <rfc822;patch@linaro.org> + 3 others); Tue, 6 Nov 2018 09:25:25 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35109 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729608AbeKFOZZ (ORCPT <rfc822;dmaengine@vger.kernel.org>); Tue, 6 Nov 2018 09:25:25 -0500 Received: by mail-pg1-f195.google.com with SMTP id 32-v6so5274182pgu.2 for <dmaengine@vger.kernel.org>; Mon, 05 Nov 2018 21:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=ESGwK71J9MVIx0LSTHlmPcydTEacdFoGT0gjQtbEMzs=; b=dLTJjwlOqus4VJ2X2QZZEpyQjNlSulx0Gim1Vh811QxB/LzDqpG0UGiybmROP/KVdw 8X1yq/fkyF0Z53QDOdJH29pW3/vgj2YiBaUzHQEAWX9/puxZIYliQk5AdnsdHYZ1ITfM 3vDygDEQvRkyzkYmHAtH8Jw7mL70zqXv6oXRc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=ESGwK71J9MVIx0LSTHlmPcydTEacdFoGT0gjQtbEMzs=; b=STRbNx72aw3TpIn4k+bZJiJZPzhGvWaQBHG7PkaHflv0jHZ2VnZx9mPdTEVW+coYGr yUolsuhflCujvFU0Bb1mCh2szCH58fJfRV97WXnUmKwnYcQfz5EVgZnFzOd2mFU5rl5A ricdeQ7Maj/94HrMdZRsibwCMgKF/scaHThWQ3qHYNuLe63QVGUtt+bvvRU7gQTYV91f EBwjPTVkpJJ9GwKxtiqZctZg/VmlZdRhh1fbnXtyyj+dJtWyJG2ibcsyOGqU1jogtaqJ XFrDbxW/jW+HAxOTKIMqxTF0qDDSwdV98HWbnTS3/FeczZqZ0Xm3T2mF/++9O3rKaiL/ lYTQ== X-Gm-Message-State: AGRZ1gKq1XI5OYle7xBZHdUgFT/k01GkKWp9j62o4AP0ZJGLdal27MLH GH8ttfxNcQ8UPXtSnroeQuO51g== X-Received: by 2002:a62:302:: with SMTP id 2-v6mr9584532pfd.135.1541480523186; Mon, 05 Nov 2018 21:02:03 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id o7-v6sm55735416pfb.23.2018.11.05.21.01.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Nov 2018 21:02:02 -0800 (PST) From: Baolin Wang <baolin.wang@linaro.org> To: dan.j.williams@intel.com, vkoul@kernel.org, eric.long@unisoc.com Cc: broonie@kernel.org, baolin.wang@linaro.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH 1/7] dmaengine: sprd: Remove direction usage from struct dma_slave_config Date: Tue, 6 Nov 2018 13:01:31 +0800 Message-Id: <0eb7556e7d0a29c7d88e8b67b6228d1ffb332ea9.1541480353.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <cover.1541480353.git.baolin.wang@linaro.org> References: <cover.1541480353.git.baolin.wang@linaro.org> In-Reply-To: <cover.1541480353.git.baolin.wang@linaro.org> References: <cover.1541480353.git.baolin.wang@linaro.org> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: <dmaengine.vger.kernel.org> X-Mailing-List: dmaengine@vger.kernel.org |
Series |
Add some fixes and new feature for SPRD DMA
|
expand
|
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c index 38d4e4f..c226dc93 100644 --- a/drivers/dma/sprd-dma.c +++ b/drivers/dma/sprd-dma.c @@ -847,9 +847,6 @@ static int sprd_dma_slave_config(struct dma_chan *chan, struct sprd_dma_chn *schan = to_sprd_dma_chan(chan); struct dma_slave_config *slave_cfg = &schan->slave_cfg; - if (!is_slave_direction(config->direction)) - return -EINVAL; - memcpy(slave_cfg, config, sizeof(*config)); return 0; }
The direction field of struct dma_slave_config was marked deprecated, thus remove the usage. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> --- drivers/dma/sprd-dma.c | 3 --- 1 file changed, 3 deletions(-) -- 1.7.9.5