Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Roman Tereshonkov and committed by
Grant Likely
dda04c7b a330ce20

+2 -2
+2 -2
drivers/spi/omap2_mcspi.c
··· 533 533 goto out; 534 534 } 535 535 #ifdef VERBOSE 536 - dev_dbg(&spi->dev, "write-%d %04x\n", 536 + dev_dbg(&spi->dev, "write-%d %08x\n", 537 537 word_len, *tx); 538 538 #endif 539 539 __raw_writel(*tx++, tx_reg); ··· 551 551 mcspi_write_chconf0(spi, l); 552 552 *rx++ = __raw_readl(rx_reg); 553 553 #ifdef VERBOSE 554 - dev_dbg(&spi->dev, "read-%d %04x\n", 554 + dev_dbg(&spi->dev, "read-%d %08x\n", 555 555 word_len, *(rx - 1)); 556 556 #endif 557 557 }