From patchwork Mon Mar 15 09:06:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Tereshonkov X-Patchwork-Id: 85905 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 o2F97Mob026336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 09:08:02 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 1Nr6Gg-0000mr-3F; Mon, 15 Mar 2010 09:07:22 +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 1Nr6Gf-0000mh-3y for spi-devel-general@lists.sourceforge.net; Mon, 15 Mar 2010 09:07:21 +0000 Received-SPF: pass (sfi-mx-2.v28.ch3.sourceforge.com: domain of nokia.com designates 192.100.122.233 as permitted sender) client-ip=192.100.122.233; envelope-from=roman.tereshonkov@nokia.com; helo=mgw-mx06.nokia.com; Received: from smtp.nokia.com ([192.100.122.233] helo=mgw-mx06.nokia.com) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1Nr6Gc-0007I4-CF for spi-devel-general@lists.sourceforge.net; Mon, 15 Mar 2010 09:07:20 +0000 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2F96nt2018830; Mon, 15 Mar 2010 11:07:05 +0200 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Mar 2010 11:06:49 +0200 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Mar 2010 11:06:48 +0200 Received: from localhost.localdomain (ramses.research.nokia.com [172.21.51.130]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2F96UX6017813; Mon, 15 Mar 2010 11:06:46 +0200 From: Roman Tereshonkov To: spi-devel-general@lists.sourceforge.net Date: Mon, 15 Mar 2010 11:06:29 +0200 Message-Id: <1268643989-29688-2-git-send-email-roman.tereshonkov@nokia.com> X-Mailer: git-send-email 1.6.2.rc1.3.g81d3f In-Reply-To: <1268643989-29688-1-git-send-email-roman.tereshonkov@nokia.com> References: <1268643989-29688-1-git-send-email-roman.tereshonkov@nokia.com> X-OriginalArrivalTime: 15 Mar 2010 09:06:48.0531 (UTC) FILETIME=[D7FE4A30:01CAC41E] 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: 1Nr6Gc-0007I4-CF Cc: dbrownell@users.sourceforge.net, Roman Tereshonkov , scott@jumpnowtek.com, gadiyar@ti.com Subject: [spi-devel-general] [PATCH 2/2] omap2_mcspi: small fixes of output data format 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, 15 Mar 2010 09:08:02 +0000 (UTC) diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index 3b50d07..a9d58ce 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c @@ -532,7 +532,7 @@ omap2_mcspi_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer) goto out; } #ifdef VERBOSE - dev_dbg(&spi->dev, "write-%d %04x\n", + dev_dbg(&spi->dev, "write-%d %08x\n", word_len, *tx); #endif __raw_writel(*tx++, tx_reg); @@ -550,7 +550,7 @@ omap2_mcspi_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer) mcspi_write_chconf0(spi, l); *rx++ = __raw_readl(rx_reg); #ifdef VERBOSE - dev_dbg(&spi->dev, "read-%d %04x\n", + dev_dbg(&spi->dev, "read-%d %08x\n", word_len, *(rx - 1)); #endif }