From patchwork Thu May 2 08:58:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16569 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 26619238EC for ; Thu, 2 May 2013 08:58:53 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id 1sf619868qec.6 for ; Thu, 02 May 2013 01:58:46 -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 :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=cd2gAMLnAbTfNfNc2P/4ORILa3YVk0seqPJ+7KWYmF3Wcy6+kKu/xIWLuLsY7y7Wqm e0CXZvOgXNkJWBzCkkELiSkUzet7rpHg4AJ1i8WbzctgtUrCCczeGctj4rCMFxia1+6D IF/5uT5tFb+MUATLgWTYzBHQ93D3m5N5uItnsW4PfhUHy/kfBUdfsC8rps1ZlEvoOxpC o3CbjWStzJiBPutZdyq9GBqFO8G5PdBHfu/547UA/sq9hXlRJqOkAHZclhHTvGfWO4yJ 4VO+XddxfMN2V6+Ef6MMXPbwZ92eP6BGfy5t3SyIueuUybAG5DaQvXcCiHXeIlgxD3ot OQqQ== X-Received: by 10.236.15.164 with SMTP id f24mr4859225yhf.50.1367485126035; Thu, 02 May 2013 01:58:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.134.99 with SMTP id pj3ls570752qeb.93.gmail; Thu, 02 May 2013 01:58:45 -0700 (PDT) X-Received: by 10.52.93.78 with SMTP id cs14mr1649687vdb.17.1367485125670; Thu, 02 May 2013 01:58:45 -0700 (PDT) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [2607:f8b0:400c:c01::236]) by mx.google.com with ESMTPS id wl5si2511278vec.34.2013.05.02.01.58.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 01:58:45 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::236 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::236; Received: by mail-ve0-f182.google.com with SMTP id jx10so286225veb.13 for ; Thu, 02 May 2013 01:58:45 -0700 (PDT) X-Received: by 10.52.71.4 with SMTP id q4mr1617629vdu.8.1367485125347; Thu, 02 May 2013 01:58:45 -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 nf2csp191466veb; Thu, 2 May 2013 01:58:44 -0700 (PDT) X-Received: by 10.180.184.11 with SMTP id eq11mr6282467wic.30.1367485124341; Thu, 02 May 2013 01:58:44 -0700 (PDT) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [2a00:1450:400c:c00::235]) by mx.google.com with ESMTPS id gk1si2505562wic.34.2013.05.02.01.58.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 01:58:44 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::235 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c00::235; Received: by mail-wg0-f53.google.com with SMTP id y10so340760wgg.32 for ; Thu, 02 May 2013 01:58:43 -0700 (PDT) X-Received: by 10.180.72.227 with SMTP id g3mr32298072wiv.1.1367485123838; Thu, 02 May 2013 01:58:43 -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 q18sm36829232wiw.8.2013.05.02.01.58.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 01:58:42 -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] ARM: ux500: Remove unnecessary attributes from DMA channel request pdata Date: Thu, 2 May 2013 09:58:33 +0100 Message-Id: <1367485113-3647-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQkFvNJB/Q0YX93f7jO/XrYLQtI79CEb5bvqL+V81Hubzr4AVs1UU04WEwcxV0Bwdnb7B5Rs X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::236 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]