From patchwork Fri Mar 12 15:22:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Ellis X-Patchwork-Id: 85304 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 o2CFLx9q024668 for ; Fri, 12 Mar 2010 15:22:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934245Ab0CLPWQ (ORCPT ); Fri, 12 Mar 2010 10:22:16 -0500 Received: from pan.gwi.net ([207.5.128.165]:4945 "EHLO pan.gwi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934254Ab0CLPWP (ORCPT ); Fri, 12 Mar 2010 10:22:15 -0500 Received: from [192.168.10.4] (66-63-88-74.static.suscom-maine.net [66.63.88.74]) by pan.gwi.net (8.13.1/8.13.1) with ESMTP id o2CFMEiC033611; Fri, 12 Mar 2010 10:22:14 -0500 (EST) (envelope-from scott@jumpnowtek.com) Subject: [PATCH 6/6] SPI omap2_mcspi.c: Limit debug messages from setup_transfer From: Scott Ellis To: spi-devel-general@lists.sourceforge.net Cc: David Brownell , Grant Likely , Tony Lindgren , Andrew Morton , Roman Tereshonkov , linux-omap@vger.kernel.org, Aaro Koskinen , Kevin Hilman Date: Fri, 12 Mar 2010 10:22:14 -0500 Message-ID: <1268407334.14445.55.camel@quad> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 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]); Fri, 12 Mar 2010 15:22:20 +0000 (UTC) diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index adc6fd3..b2dbbc0 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c @@ -637,11 +637,12 @@ static int omap2_mcspi_setup_transfer(struct spi_device *spi, mcspi_write_chconf0(spi, l); +#ifdef VERBOSE dev_dbg(&spi->dev, "setup: speed %d, sample %s edge, clk %s\n", OMAP2_MCSPI_MAX_FREQ / (1 << div), (spi->mode & SPI_CPHA) ? "trailing" : "leading", (spi->mode & SPI_CPOL) ? "inverted" : "normal"); - +#endif return 0; }