Merge commit 'main-jb-2012.08.03-B4' into t114-0806
[linux-2.6.git] / drivers / spi / spi_slave_tegra.c
index 1f46a4a..7c2eb6b 100644 (file)
@@ -418,7 +418,7 @@ static unsigned int spi_tegra_read_rx_fifo_to_client_rxbuf(
        u8 *rx_buf = (u8 *)t->rx_buf + tspi->cur_rx_pos;
        unsigned i, count;
        unsigned long x;
-       unsigned int read_words;
+       unsigned int read_words = 0;
        unsigned len;
 
        fifo_status = spi_tegra_readl(tspi, SLINK_STATUS2);