spi: ti-qspi: one only one interrupt handler
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 2 Oct 2013 14:45:25 +0000 (16:45 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 7 Oct 2013 10:29:22 +0000 (11:29 +0100)
commit3b3a80019ff194e86e740ec2f013a8915efd1ccf
tree77302f92a25ec4ebadfea270c00572d7592d8d8a
parent633795b992ebae2a78890c0cfa5c17058eb93817
spi: ti-qspi: one only one interrupt handler

The here used irq and threaded irq handler is a complete non-sense. After
the status register is read and the source disabled it schedules a thread
(the irq thread) to read the status from the variable, invoke complete()
and then renable the interrupt. Again: schedule a thread which invokes
_only_ complete().
This patch removes this non-sense and we remain with one handler which
invokes complete() if needed.
The device remove path should now disable the interupts.
This has been compile time tested.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ti-qspi.c
This page took 0.045153 seconds and 5 git commands to generate.