Message ID | 1366279934-30761-17-git-send-email-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBBLUOX6FQKGQEUXUDRDI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 87B7023974 for <linaro@patches.linaro.org>; Thu, 18 Apr 2013 10:13:39 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id ha12sf4435295vcb.6 for <linaro@patches.linaro.org>; Thu, 18 Apr 2013 03:13:02 -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=7Uc+lZhU8xYRHGhbLfwH4t04DsVrZmM5C6TKdzXQaRw=; b=ARI0H4k8o3N6+1frbrbaa0DYTmXwNnVU7JBSLm5LiyaN6PTDzLtrQrGZLSX7fTUzZC IeMDNnVMq8lyyEea9y7zz3e6jRjbYy0hDcJlHSdZMdyx56AqO6jMAxvFEWbMiaQ8VrQl qYXpzK8pPGn38EUpx1zMKnsjPlKJ/gxWjdhIZ5LRWqKILRvMfjOHoOXi5XcYswHJrvOp RyQqneRfqsfKYRzKdMGp5lyNtl2eW3cKGc/kWMFn3SDUI9u4hmAmw5h/2ZQ9E6dYGwSC 6RF9QA9qQxY4HBIhXMNk0CvMBcnniiB+MQUEuZ+LJPiBgTYjmCwu5TScbgIi/LRLjxAK liTQ== X-Received: by 10.236.91.109 with SMTP id g73mr5117846yhf.23.1366279982506; Thu, 18 Apr 2013 03:13:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.130.74 with SMTP id oc10ls1506606qeb.53.gmail; Thu, 18 Apr 2013 03:13:02 -0700 (PDT) X-Received: by 10.58.169.102 with SMTP id ad6mr7517693vec.53.1366279982361; Thu, 18 Apr 2013 03:13:02 -0700 (PDT) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [2607:f8b0:400c:c02::22b]) by mx.google.com with ESMTPS id ec8si6236301vdb.72.2013.04.18.03.13.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:02 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22b 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::22b; Received: by mail-vb0-f43.google.com with SMTP id q12so2139577vbe.16 for <patchwork-forward@linaro.org>; Thu, 18 Apr 2013 03:13:02 -0700 (PDT) X-Received: by 10.58.181.201 with SMTP id dy9mr7705716vec.34.1366279982191; Thu, 18 Apr 2013 03:13:02 -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 nf2csp115746veb; Thu, 18 Apr 2013 03:13:01 -0700 (PDT) X-Received: by 10.194.235.196 with SMTP id uo4mr17369499wjc.30.1366279981286; Thu, 18 Apr 2013 03:13:01 -0700 (PDT) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [2a00:1450:400c:c03::230]) by mx.google.com with ESMTPS id c19si3438289wjs.52.2013.04.18.03.13.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:01 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::230 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::230; Received: by mail-we0-f176.google.com with SMTP id s43so2152243wey.35 for <patches@linaro.org>; Thu, 18 Apr 2013 03:13:00 -0700 (PDT) X-Received: by 10.180.11.136 with SMTP id q8mr4294011wib.18.1366279980778; Thu, 18 Apr 2013 03:13:00 -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.12.59 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:00 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones <lee.jones@linaro.org>, Vinod Koul <vinod.koul@intel.com>, Dan Williams <djbw@fb.com>, Per Forlin <per.forlin@stericsson.com>, Rabin Vincent <rabin@rab.in> Subject: [PATCH 16/32] dmaengine: ste_dma40: Remove unnecessary call to d40_phy_cfg() Date: Thu, 18 Apr 2013 11:11:58 +0100 Message-Id: <1366279934-30761-17-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: ALoCoQlQUWngJQazFLmcSSWyHkrX6wLRL2sFHGW82h4oFpZOgoDjm0CVhm+u/tX2JjalkmqS1mji X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22b 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 178a03c..1c570b6 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -2437,9 +2437,6 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) } pm_runtime_get_sync(d40c->base->dev); - /* Fill in basic CFG register values */ - d40_phy_cfg(&d40c->dma_cfg, &d40c->src_def_cfg, - &d40c->dst_def_cfg, chan_is_logical(d40c)); d40_set_prio_realtime(d40c);
All configuration left in d40_phy_cfg() is runtime configurable and there is already a call into it from d40_runtime_config(), so let's rely on that. Cc: Vinod Koul <vinod.koul@intel.com> Cc: Dan Williams <djbw@fb.com> Cc: Per Forlin <per.forlin@stericsson.com> Cc: Rabin Vincent <rabin@rab.in> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/dma/ste_dma40.c | 3 --- 1 file changed, 3 deletions(-)