From patchwork Fri May 3 14:32:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16666 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE41223905 for ; Fri, 3 May 2013 14:34:48 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id k26sf2440462qcs.10 for ; Fri, 03 May 2013 07:34:39 -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=8lRvmmQtcKymGtXsMf5g6Wxs363PVidBzpzfO8Y99Bk=; b=X69EQSoyO8Y/dLYQjKiKWJ8mAhrdNJhbKGgf3wfS9M4gr+suqz14YtHCGrYVROhqwn orHMQN29cB7UrOa4zzCuM2K2lhniIBTB481SEzCbBreyCrsBrS8FEylQbIIRC864nK7P +1PQfcx6/tBx3hqsnkKZ//19ZUqROW00aRkiAYZZR9FFAeTzpOTR+0izveBliiMhPDqO 9Mxv9FH1Bu8MPfIUovHZJEF7drdYCYyaAxH5pzrFbsgvyyrlvqqYnsGCWjW2N1JBISdZ bm7Ba0FigkjO6OEf+V3PlkzaX6JKt3VViV5nHn0IA9C0N5ZE2esRtBDBkDZJ6sFkcqZf jUGw== X-Received: by 10.236.17.170 with SMTP id j30mr765382yhj.4.1367591678923; Fri, 03 May 2013 07:34:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.18 with SMTP id y18ls1839781qef.5.gmail; Fri, 03 May 2013 07:34:38 -0700 (PDT) X-Received: by 10.52.70.206 with SMTP id o14mr3281162vdu.63.1367591678547; Fri, 03 May 2013 07:34:38 -0700 (PDT) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [2607:f8b0:400c:c01::22a]) by mx.google.com with ESMTPS id bf1si5166350ved.15.2013.05.03.07.34.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:34:38 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22a 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::22a; Received: by mail-ve0-f170.google.com with SMTP id 15so1565594vea.1 for ; Fri, 03 May 2013 07:34:38 -0700 (PDT) X-Received: by 10.52.71.4 with SMTP id q4mr3193139vdu.8.1367591678465; Fri, 03 May 2013 07:34:38 -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 nf2csp25227veb; Fri, 3 May 2013 07:34:38 -0700 (PDT) X-Received: by 10.194.143.50 with SMTP id sb18mr14227313wjb.44.1367591677574; Fri, 03 May 2013 07:34:37 -0700 (PDT) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [2a00:1450:400c:c05::22c]) by mx.google.com with ESMTPS id g15si3608170wiv.55.2013.05.03.07.34.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:34:37 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22c is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::22c; Received: by mail-wi0-f172.google.com with SMTP id hm14so674711wib.5 for ; Fri, 03 May 2013 07:34:37 -0700 (PDT) X-Received: by 10.180.88.162 with SMTP id bh2mr3311142wib.3.1367591677190; Fri, 03 May 2013 07:34:37 -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 o3sm17516019wia.2.2013.05.03.07.34.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:34:36 -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, srinidhi.kasagar@stericsson.com, Lee Jones Subject: [PATCH 35/63] ARM: ux500: Remove unnecessary attributes from DMA channel request pdata Date: Fri, 3 May 2013 15:32:21 +0100 Message-Id: <1367591569-32197-36-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> References: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmIJ0+2O7MLkmp4+rNCuW3+1gB3t3mkCk4q+75ScV5W7rB4vSkt3bGyO40vbD78wbwLtzac X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22a 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 e0ea490..821703d 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]