spi: dw-spi: Single Register read to clear IRQs
authorThor Thayer <tthayer@opensource.altera.com>
Fri, 6 Mar 2015 23:46:32 +0000 (17:46 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2015 18:43:44 +0000 (18:43 +0000)
commit2306509605d3cb45b8480089af2d282600650e9e
tree8c1e900986fbb420106e08f432e3b107f1e3a8b2
parentd744f82683e8cc8b49ca8f329a289c6692a9fb06
spi: dw-spi: Single Register read to clear IRQs

Instead of clearing the RxU, RxO, and TxO IRQs individually with
3 register reads, a single read of the ICR register will do the
same thing.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c