spi: sirf: enable RX_IO_DMA_INT interrupt
authorQipan Li <Qipan.Li@csr.com>
Tue, 2 Sep 2014 09:01:03 +0000 (17:01 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Sep 2014 19:25:07 +0000 (20:25 +0100)
commitf2a08b404691ef3e7be6ce81c185335cfc68b6db
treead42fd19bec8e2a25fe8d67cb748b92abb2a7c6e
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
spi: sirf: enable RX_IO_DMA_INT interrupt

in spi interrupt handler, we need check RX_IO_DMA status to ensure
rx fifo have received the specify count data.

if not set, the while statement in spi isr function will keep loop,
at last, make the kernel hang.

[The code is actually there in the interrupt handler but apparently it
needs the interrupt unmasking so the handler sees the status -- broonie]

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-sirf.c