Message ID | ad83dabc0e2360e131bd820c7c3b69ba47d11f30.1538199697.git.baolin.wang@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1575187lji; Fri, 28 Sep 2018 22:50:05 -0700 (PDT) X-Google-Smtp-Source: ACcGV60wA5Wr4CyAt9Z9jevnHnbCautO8pvZmCFfgG6Ubekfjz1FBtoMcKCi0t3VN8ALUaZzs9Yv X-Received: by 2002:a63:f848:: with SMTP id v8-v6mr1599107pgj.82.1538200205009; Fri, 28 Sep 2018 22:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538200205; cv=none; d=google.com; s=arc-20160816; b=YCEqeR73Ej4x8xYTd85wE5chRaQ+dFxDDI4LtW+BcgtAYvfsKqjPJ9JhGjhxfVrHIN aK9v7sxQCg5pB0hIRfMSdSY/rCwjan/BkkR2QtQ9aDFCG7z/6lRHs9qigt0+h7XSwq2e OYXe6Ew1EneEudlY4WpyyuXCKcRb8uaSmT8tJ8VUFX8v0aFpTsSYVABMGcj794ji/xRK kMpka3KA3sYWqm56cHMQQH2QfpPtlFiItDO1Qcsvi+y/qbpL6sVgvzj/4bJ3+SwRPocp xfZ+UgaZZ9zPjxQs4JyG46k94emlHtsjjvJrWxWdX0a01bUWatEp5/iYyileNpM1cysw YuXQ== 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=p1rpyj3YgBfLZIVqK6LqXzZdRkBxdQo8U4BdvBpHLKd4A1SLkfDbnMORyGefZBfzTE Gge4NSplNYiLyjCX6HK1feBNR6DE0sMg4U7vOdOC1XN/RRkw287U3OBxu3kTSbzPkNGx swPGpfIfnXzjaRtNBV2w/uoW0HkE9tAkyeL+XSh6izaQRQ86EbEpW7hfCuCaDWa1w4dm a/0YPosaeh3EnR+cUXgtzaljyPEzZItrO4h+m7uoF/Vsp3Yuy68NtYCBFTsosmz1Z3R0 STDGVeUN2klsbtwK9Z4N7Zii0/mpX/RQNr35LNR5lX24g3vIilJIIrAWkVMDGkq34K9W VGVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNEOE6eC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10-v6si2951754plz.158.2018.09.28.22.50.04; Fri, 28 Sep 2018 22:50: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; dkim=pass header.i=@linaro.org header.s=google header.b=gNEOE6eC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727501AbeI2MRG (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Sat, 29 Sep 2018 08:17:06 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46084 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbeI2MRG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 29 Sep 2018 08:17:06 -0400 Received: by mail-pg1-f196.google.com with SMTP id b129-v6so5860585pga.13 for <linux-kernel@vger.kernel.org>; Fri, 28 Sep 2018 22:50:02 -0700 (PDT) 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=gNEOE6eCXEHf3IE6h9XVE5pgCYM1vzkbspyms3szdjJJ+l/Uq8cZB4tj/PaIUo4iEe Fy4S1kh/qfy9w+0/t5csp252mRMKvC8gIWadoxyMe3xLkyRXSNZjqphoThcbDOB2cPjl i1CULVEXrpsc66q3rF7biFV6/30cJ876Jo/CU= 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=j/TC7CHcTxAuJ2P5VJ2gKIKhYfPpvJX2hUKsDEaGuZIPYmyA/WfJV8+kDZR5AzzXVu cpIGQ3Meoq7Xc4defEvNxRtR3gkgrRAynkv4iNjcGCkDIjHJW4+W4DHHawp/T/NfryPt UvV7FPJDtX6Jrcn284pQ3oqQhXuzr29KY5ShzeSu6dEC6hwM6fvhq34kahG+beQE5AUN aDoXp5jMCqzCoAXTXlDGc6Bhy/cHdmQdZl4d8vZG/XLKm7rqylUIeKcmt7hSxWcIc0hL c1S9nnVU041ZeSBKvi9R2T/uaZvtbS6u7zO4izAW2FTWiLGrLBu6LkvbSJahAyQwGS1i yIkQ== X-Gm-Message-State: ABuFfoiWo4OxbFUUu9MjcEvFdBSyKHca4GTbYLxudHB7TpikM//MjMdv L3+hcRkjeqO3of49rVUiEBdAfYN7qyb/rg== X-Received: by 2002:a63:8442:: with SMTP id k63-v6mr1583392pgd.388.1538200201941; Fri, 28 Sep 2018 22:50:01 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id i80-v6sm11118049pfi.87.2018.09.28.22.49.58 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Sep 2018 22:50:00 -0700 (PDT) From: Baolin Wang <baolin.wang@linaro.org> To: dan.j.williams@intel.com, vkoul@kernel.org, eric.long@spreadtrum.com Cc: broonie@kernel.org, baolin.wang@linaro.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] dmaengine: sprd: Remove direction usage from struct dma_slave_config Date: Sat, 29 Sep 2018 13:48:59 +0800 Message-Id: <ad83dabc0e2360e131bd820c7c3b69ba47d11f30.1538199697.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <cover.1538199697.git.baolin.wang@linaro.org> References: <cover.1538199697.git.baolin.wang@linaro.org> In-Reply-To: <cover.1538199697.git.baolin.wang@linaro.org> References: <cover.1538199697.git.baolin.wang@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@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