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: 92018 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3C98tFR017134 for ; Mon, 12 Apr 2010 09:08:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753449Ab0DLJIe (ORCPT ); Mon, 12 Apr 2010 05:08:34 -0400 Received: from smtp.nokia.com ([192.100.105.134]:57119 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753445Ab0DLJIc (ORCPT ); Mon, 12 Apr 2010 05:08:32 -0400 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 Cc: linux-omap@vger.kernel.org, glikely@secretlab.ca, imre.deak@nokia.com, samuel.ortiz@solidboot.com, juuso.oikarinen@nokia.com, johannes@sipsolutions.net, Roman Tereshonkov Subject: [PATCH] omap2_mcspi: change default DMA_MIN_BYTES value to 160 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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:08:58 +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 {