From patchwork Mon Apr 12 09:07:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Tereshonkov X-Patchwork-Id: 92019 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3C98TOY016992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 12 Apr 2010 09:09:05 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1O1Fd4-0002ln-6s; Mon, 12 Apr 2010 09:08:26 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1O1Fd3-0002le-1X for spi-devel-general@lists.sourceforge.net; Mon, 12 Apr 2010 09:08:25 +0000 Received-SPF: pass (sfi-mx-2.v28.ch3.sourceforge.com: domain of nokia.com designates 192.100.105.134 as permitted sender) client-ip=192.100.105.134; envelope-from=roman.tereshonkov@nokia.com; helo=mgw-mx09.nokia.com; Received: from smtp.nokia.com ([192.100.105.134] helo=mgw-mx09.nokia.com) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1O1Fcx-0001Lg-Ep for spi-devel-general@lists.sourceforge.net; Mon, 12 Apr 2010 09:08:21 +0000 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o3C97uMt012193; Mon, 12 Apr 2010 04:08:11 -0500 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Apr 2010 12:08:01 +0300 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Apr 2010 12:08:00 +0300 Received: from localhost.localdomain (ramses.research.nokia.com [172.21.51.130]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o3C97spO011697; Mon, 12 Apr 2010 12:07:55 +0300 From: Roman Tereshonkov To: spi-devel-general@lists.sourceforge.net Date: Mon, 12 Apr 2010 12:07:54 +0300 Message-Id: <1271063274-13222-1-git-send-email-roman.tereshonkov@nokia.com> X-Mailer: git-send-email 1.6.2.rc1.3.g81d3f X-OriginalArrivalTime: 12 Apr 2010 09:08:00.0905 (UTC) FILETIME=[A6B2AF90:01CADA1F] X-Nokia-AV: Clean X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1O1Fcx-0001Lg-Ep Cc: juuso.oikarinen@nokia.com, glikely@secretlab.ca, imre.deak@nokia.com, samuel.ortiz@solidboot.com, johannes@sipsolutions.net, linux-omap@vger.kernel.org, Roman Tereshonkov Subject: [spi-devel-general] [PATCH] omap2_mcspi: change default DMA_MIN_BYTES value to 160 X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: spi-devel-general-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 12 Apr 2010 09:09:06 +0000 (UTC) diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index a9d58ce..d24a05e 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c @@ -112,7 +112,7 @@ struct omap2_mcspi_dma { /* use PIO for small transfers, avoiding DMA setup/teardown overhead and * cache operations; better heuristics consider wordsize and bitrate. */ -#define DMA_MIN_BYTES 8 +#define DMA_MIN_BYTES 160 struct omap2_mcspi {