]> git.karo-electronics.de Git - linux-beck.git/commit
spi: fsl-espi: improve and simplify interrupt handler
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 13 Sep 2016 21:15:57 +0000 (23:15 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Sep 2016 17:24:47 +0000 (18:24 +0100)
commit35f5d71e38f2c0a9e7fdfbe0e9527efc712cfbcf
treeda4a98aac981d315099804da6584e0baaeccbd88
parentd198ebfb75adec5156b07b96dc21b6b9e5144018
spi: fsl-espi: improve and simplify interrupt handler

Simplify the interrupt handler a little. In addition don't call
fsl_espi_cpu_irq() if no event bit is set.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c