From patchwork Wed Mar 10 10:18:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Tereshonkov X-Patchwork-Id: 84525 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 o2AAItdr024834 for ; Wed, 10 Mar 2010 10:18:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752963Ab0CJKSy (ORCPT ); Wed, 10 Mar 2010 05:18:54 -0500 Received: from smtp.nokia.com ([192.100.105.134]:52712 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142Ab0CJKSy (ORCPT ); Wed, 10 Mar 2010 05:18:54 -0500 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2AAIZiJ028621; Wed, 10 Mar 2010 04:18:49 -0600 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Mar 2010 12:18:45 +0200 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Mar 2010 12:18:45 +0200 Received: from localhost.localdomain (ramses.research.nokia.com [172.21.51.130]) by mgw-sa02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2AAIf1r027376; Wed, 10 Mar 2010 12:18:44 +0200 From: Roman Tereshonkov To: linux-omap@vger.kernel.org Cc: scott@jumpnowtek.com, gadiyar@ti.com, Roman Tereshonkov Subject: [PATCH 2/2] omap2_mcspi: small fixes of output data format Date: Wed, 10 Mar 2010 12:18:36 +0200 Message-Id: <1268216316-32552-2-git-send-email-roman.tereshonkov@nokia.com> X-Mailer: git-send-email 1.6.2.rc1.3.g81d3f In-Reply-To: <1268216316-32552-1-git-send-email-roman.tereshonkov@nokia.com> References: <1268216316-32552-1-git-send-email-roman.tereshonkov@nokia.com> X-OriginalArrivalTime: 10 Mar 2010 10:18:45.0382 (UTC) FILETIME=[10F8BA60:01CAC03B] 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]); Wed, 10 Mar 2010 10:18:55 +0000 (UTC) diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index 35b31fe..2ebdca8 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 }