diff options
author | Roman Tereshonkov <roman.tereshonkov@nokia.com> | 2010-03-15 05:06:29 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-04-28 03:25:43 -0400 |
commit | dda04c7bcf58cb02ac796beb1cf483aa5277f2af (patch) | |
tree | 8814f954c6620750f264f5e0ebbe5d748a608f50 /drivers/spi | |
parent | a330ce2001b290c59fe98c37e981683ef0a75fdf (diff) |
omap2_mcspi: small fixes of output data format
Replaces %04x by %08x for 32-bits data output.
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/omap2_mcspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index 581bd2169d7b..e0de0d0eedea 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c | |||
@@ -533,7 +533,7 @@ omap2_mcspi_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer) | |||
533 | goto out; | 533 | goto out; |
534 | } | 534 | } |
535 | #ifdef VERBOSE | 535 | #ifdef VERBOSE |
536 | dev_dbg(&spi->dev, "write-%d %04x\n", | 536 | dev_dbg(&spi->dev, "write-%d %08x\n", |
537 | word_len, *tx); | 537 | word_len, *tx); |
538 | #endif | 538 | #endif |
539 | __raw_writel(*tx++, tx_reg); | 539 | __raw_writel(*tx++, tx_reg); |
@@ -551,7 +551,7 @@ omap2_mcspi_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer) | |||
551 | mcspi_write_chconf0(spi, l); | 551 | mcspi_write_chconf0(spi, l); |
552 | *rx++ = __raw_readl(rx_reg); | 552 | *rx++ = __raw_readl(rx_reg); |
553 | #ifdef VERBOSE | 553 | #ifdef VERBOSE |
554 | dev_dbg(&spi->dev, "read-%d %04x\n", | 554 | dev_dbg(&spi->dev, "read-%d %08x\n", |
555 | word_len, *(rx - 1)); | 555 | word_len, *(rx - 1)); |
556 | #endif | 556 | #endif |
557 | } | 557 | } |