]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: ads7877 - remove bitrotted comment
authorMark Brown <broonie@linaro.org>
Fri, 25 Apr 2014 06:37:56 +0000 (23:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Apr 2014 06:40:52 +0000 (23:40 -0700)
commitf9b75effeec27c0d4187c81510f027a23e164e6b
tree2de244b121b790a76438f42ca582714726aa069f
parent227d199820a3a191c37c773d17fc01c37d2633fc
Input: ads7877 - remove bitrotted comment

While searching for users of spi_async() I found a reference in the ad7877
driver to using it to initiate data transfer from the interrupt handler.
However there is no code for this, instead the interrupt handler is a
threaded handler and uses spi_sync() instead.

Remove the bitrotted comment, though in actual fact the use case mentioned
is a great use for spi_async() since it would cut down on latency handling
the interrupt by saving us a context switch before we start SPI.

This was previously implemented, it was removed in commit b534422b2d11
(Input: ad7877 - switch to using threaded IRQ) for code complexity reasons.
It may be better to revert that commit instead.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ad7877.c