From patchwork Wed May 15 09:51:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16928 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C93CB2396C for ; Wed, 15 May 2013 09:53:10 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id m1sf2240142ves.11 for ; Wed, 15 May 2013 02:52:34 -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=6FOhO+VKSBOzyTd6s5t5kZt5JLlcHSR8nQzfZOEZhkA=; b=SqNSwhBwckqUIvhJIc/o95gldjBito0xgKljgpBRje8Ln6yT+FQZaylCL1rM2HuX2x zJSCgj1gatE9prUF0LxC1BBhQfeBV9VUYMrdx5C4nvNnw/X28uzqpEFPVRVrGRb8pnyW u9zpUt4xdL1Q/K5Bs9gSrAQSpfX8iBdZWzKCfYrfQ1W2CFVZ59J4TYtgnSUEMF8k3h4t x0WYHPzxRxUvVHlgkpfXcvHTk8+bLSYW51Cj7P7T8X1ckpEGs0x51Os8OH37plfo8RE0 vBBjdrjIaGIPzTPufdIjyonxnuRB0E2Xi99W1ur/HGFnDGITCzlLdf+u6czL6u0Q/ZdO hTeQ== X-Received: by 10.236.133.235 with SMTP id q71mr3894917yhi.13.1368611554211; Wed, 15 May 2013 02:52:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.61.35 with SMTP id m3ls589433qer.66.gmail; Wed, 15 May 2013 02:52:34 -0700 (PDT) X-Received: by 10.52.155.133 with SMTP id vw5mr345819vdb.43.1368611554024; Wed, 15 May 2013 02:52:34 -0700 (PDT) Received: from mail-ve0-x22f.google.com (mail-ve0-x22f.google.com [2607:f8b0:400c:c01::22f]) by mx.google.com with ESMTPS id ad7si1006416vdc.146.2013.05.15.02.52.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 02:52:34 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22f 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:c01::22f; Received: by mail-ve0-f175.google.com with SMTP id cz11so1757707veb.20 for ; Wed, 15 May 2013 02:52:33 -0700 (PDT) X-Received: by 10.52.173.108 with SMTP id bj12mr857145vdc.57.1368611553850; Wed, 15 May 2013 02:52:33 -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.220.217.15 with SMTP id hk15csp11336vcb; Wed, 15 May 2013 02:52:33 -0700 (PDT) X-Received: by 10.180.210.225 with SMTP id mx1mr13384256wic.15.1368611552451; Wed, 15 May 2013 02:52:32 -0700 (PDT) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [2a00:1450:400c:c05::236]) by mx.google.com with ESMTPS id ce19si517640wjb.70.2013.05.15.02.52.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 02:52:32 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::236 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::236; Received: by mail-wi0-f182.google.com with SMTP id c10so1415911wiw.9 for ; Wed, 15 May 2013 02:52:32 -0700 (PDT) X-Received: by 10.180.73.10 with SMTP id h10mr11138663wiv.0.1368611552033; Wed, 15 May 2013 02:52:32 -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 ESMTPSA id q13sm2898210wie.8.2013.05.15.02.52.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 02:52:31 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, balbi@ti.com, linux-usb@vger.kernel.org, linux-crypto@vger.kernel.org, davem@davemloft.net, herbert@gondor.apana.org.au, vinod.koul@intel.com Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones Subject: [PATCH 11/39] ARM: ux500: Remove unnecessary attributes from DMA channel request pdata Date: Wed, 15 May 2013 10:51:34 +0100 Message-Id: <1368611522-9984-12-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1368611522-9984-1-git-send-email-lee.jones@linaro.org> References: <1368611522-9984-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmw5iabkXgOUCUppDUDZN9KBYiNcMPGxMyHq23B2LF2tCGm6y+zDHmYr8FsGVXn5oRQUzZ3 X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22f 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: , DMA data width and packet size information is only required at channel configuration time. Any information passed from platform data is passed directly to the DMA40 driver to use during channel allocation, but these pieces of information are subsequently ignored by the driver, so we may as well remove them. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/usb.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c index 45af303..72754e3 100644 --- a/arch/arm/mach-ux500/usb.c +++ b/arch/arm/mach-ux500/usb.c @@ -15,19 +15,11 @@ #define MUSB_DMA40_RX_CH { \ .mode = STEDMA40_MODE_LOGICAL, \ .dir = STEDMA40_PERIPH_TO_MEM, \ - .src_info.data_width = STEDMA40_WORD_WIDTH, \ - .dst_info.data_width = STEDMA40_WORD_WIDTH, \ - .src_info.psize = STEDMA40_PSIZE_LOG_16, \ - .dst_info.psize = STEDMA40_PSIZE_LOG_16, \ } #define MUSB_DMA40_TX_CH { \ .mode = STEDMA40_MODE_LOGICAL, \ .dir = STEDMA40_MEM_TO_PERIPH, \ - .src_info.data_width = STEDMA40_WORD_WIDTH, \ - .dst_info.data_width = STEDMA40_WORD_WIDTH, \ - .src_info.psize = STEDMA40_PSIZE_LOG_16, \ - .dst_info.psize = STEDMA40_PSIZE_LOG_16, \ } static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_CHANNELS]