From patchwork Thu Apr 18 10:12:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16206 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6E12023974 for ; Thu, 18 Apr 2013 10:13:42 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id hf12sf4435942vcb.4 for ; Thu, 18 Apr 2013 03:13:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=cMPoa7/N4In9zrFuv2IGGwgqU8v4RwjHoJ+MCcHIvZg=; b=mAsC5b/ydc0KpOSwocojMWnM9rsjrhMro7ywLae3BNZWdJlquYUcbG3qIKPxMaNlXn qBZe/4I7jPyXXMfHqr+D1bd1wxj+5fToa63rmLvG/9k6oQiqJyrrFuRameNGSZJaxMDK pMhj/1o9iZ5jqynzU8Fkil4YmakfyeR1hc3eJe1PXPDyKHRVGq+G1lswSKWGjC7MLHUR MvSoD9oA/+VNGoNVfsQwLCL6zQvHL2SQsdK93e7icB/KV9pW8zYPW/kFDAzeqOCs1KlP 4OtIDYevoK5em13CeUMHC9TXknRjwyxniIHr/NlOYjivhBNSR6bG5ZZ8pNMIF4MRKF5B /+lg== X-Received: by 10.236.78.103 with SMTP id f67mr5127179yhe.52.1366279985466; Thu, 18 Apr 2013 03:13:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.75.2 with SMTP id y2ls1407289qev.56.gmail; Thu, 18 Apr 2013 03:13:05 -0700 (PDT) X-Received: by 10.58.84.164 with SMTP id a4mr7070559vez.9.1366279985323; Thu, 18 Apr 2013 03:13:05 -0700 (PDT) Received: from mail-vb0-x22c.google.com (mail-vb0-x22c.google.com [2607:f8b0:400c:c02::22c]) by mx.google.com with ESMTPS id sx2si6215939vdc.136.2013.04.18.03.13.05 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:05 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22c is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22c; Received: by mail-vb0-f44.google.com with SMTP id e12so2156975vbg.17 for ; Thu, 18 Apr 2013 03:13:05 -0700 (PDT) X-Received: by 10.58.48.166 with SMTP id m6mr7509742ven.59.1366279985203; Thu, 18 Apr 2013 03:13:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp115751veb; Thu, 18 Apr 2013 03:13:04 -0700 (PDT) X-Received: by 10.194.235.196 with SMTP id uo4mr17369937wjc.30.1366279984635; Thu, 18 Apr 2013 03:13:04 -0700 (PDT) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [2a00:1450:400c:c03::22f]) by mx.google.com with ESMTPS id bo1si3437663wjb.60.2013.04.18.03.13.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:04 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22f is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::22f; Received: by mail-we0-f175.google.com with SMTP id t11so2123155wey.20 for ; Thu, 18 Apr 2013 03:13:04 -0700 (PDT) X-Received: by 10.180.206.205 with SMTP id lq13mr17098033wic.21.1366279984211; Thu, 18 Apr 2013 03:13:04 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id t7sm30483773wij.2.2013.04.18.03.13.02 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:03 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones , Vinod Koul , Dan Williams , Per Forlin , Rabin Vincent Subject: [PATCH 18/32] dmaengine: ste_dma40: Don't configure runtime configurable setup during allocate Date: Thu, 18 Apr 2013 11:12:00 +0100 Message-Id: <1366279934-30761-19-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1366279934-30761-1-git-send-email-lee.jones@linaro.org> References: <1366279934-30761-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkCLqGxk8OpcKMvkL5L5WgNvAQ3bF7qTeBcDPZfkWPV5cTuk+2anKdrHZ4SwppieNTYtKbO X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22c is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Using the dmaengine API, allocating and configuring a channel are two separate actions. Here we're removing logical channel configuration from the channel allocating routines. Cc: Vinod Koul Cc: Dan Williams Cc: Per Forlin Cc: Rabin Vincent Signed-off-by: Lee Jones --- drivers/dma/ste_dma40.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index ff41972..04cc75f 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -2441,9 +2441,6 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) d40_set_prio_realtime(d40c); if (chan_is_logical(d40c)) { - d40_log_cfg(&d40c->dma_cfg, - &d40c->log_def.lcsp1, &d40c->log_def.lcsp3); - if (d40c->dma_cfg.dir == STEDMA40_PERIPH_TO_MEM) d40c->lcpa = d40c->base->lcpa_base + d40c->dma_cfg.src_dev_type * D40_LCPA_CHAN_SIZE;